| Modifier and Type | Field and Description |
|---|---|
static char |
DEBUG |
static char |
ERRORS |
static char |
HELP |
static char |
QUIET |
static char |
SET_SYSTEM_PROPERTY |
static char |
VERSION |
| Constructor and Description |
|---|
AbstractCli() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.commons.cli.Options |
buildCliOptions(org.apache.commons.cli.Options options) |
org.apache.commons.cli.Options |
buildDefaultCliOptions() |
protected void |
customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration configuration,
org.apache.commons.cli.CommandLine cli) |
void |
displayHelp() |
int |
execute(String[] args) |
int |
execute(String[] args,
org.codehaus.plexus.classworlds.ClassWorld classWorld) |
String |
getPomPropertiesPath() |
abstract void |
invokePlexusComponent(org.apache.commons.cli.CommandLine cli,
org.codehaus.plexus.PlexusContainer container) |
org.apache.commons.cli.CommandLine |
parse(String[] args) |
protected void |
showError(String message,
Exception e,
boolean show) |
protected int |
showFatalError(String message,
Exception e,
boolean show) |
public static final char QUIET
public static final char DEBUG
public static final char ERRORS
public static final char HELP
public static final char VERSION
public static final char SET_SYSTEM_PROPERTY
public abstract org.apache.commons.cli.Options buildCliOptions(org.apache.commons.cli.Options options)
buildCliOptions in interface Clipublic abstract void invokePlexusComponent(org.apache.commons.cli.CommandLine cli,
org.codehaus.plexus.PlexusContainer container)
throws Exception
invokePlexusComponent in interface CliExceptionpublic String getPomPropertiesPath()
getPomPropertiesPath in interface Clipublic int execute(String[] args)
public int execute(String[] args, org.codehaus.plexus.classworlds.ClassWorld classWorld)
protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration configuration,
org.apache.commons.cli.CommandLine cli)
public org.apache.commons.cli.Options buildDefaultCliOptions()
public org.apache.commons.cli.CommandLine parse(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionpublic void displayHelp()
Copyright © 2001–2021 Codehaus Plexus. All rights reserved.