org.codehaus.plexus.tools.cli
public abstract class AbstractCli extends Object implements Cli
Version: $Id: AbstractCli.java 8335 2009-08-12 13:55:32Z bentmann $
UNKNOWN: UseOfSystemOutOrSystemErr,ACCESS_STATIC_VIA_INSTANCE
| Field Summary | |
|---|---|
| static char | DEBUG |
| static char | ERRORS |
| static char | HELP |
| Options | options |
| static char | QUIET |
| static char | SET_SYSTEM_PROPERTY |
| static char | VERSION |
| Method Summary | |
|---|---|
| abstract Options | buildCliOptions(Options options) |
| Options | buildDefaultCliOptions() |
| static String[] | cleanArgs(String[] args) |
| void | displayHelp() |
| int | execute(String[] args) |
| int | execute(String[] args, ClassWorld classWorld) |
| Properties | getExecutionProperties(CommandLine commandLine) |
| String | getPomPropertiesPath() |
| abstract void | invokePlexusComponent(CommandLine cli, PlexusContainer container) |
| CommandLine | parse(String[] args) |
| void | setCliProperty(String property, Properties executionProperties) |
| protected void | showError(String message, Exception e, boolean show) |
| protected int | showFatalError(String message, Exception e, boolean show) |
| void | showVersion() |