Package org.codehaus.plexus.tools.cli
Class AbstractCli
java.lang.Object
org.codehaus.plexus.tools.cli.AbstractCli
- All Implemented Interfaces:
Cli
- Version:
- $Id$
- Author:
- jason van zyl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.commons.cli.Options
buildCliOptions
(org.apache.commons.cli.Options options) org.apache.commons.cli.Options
protected void
customizeContainerConfiguration
(org.codehaus.plexus.ContainerConfiguration configuration, org.apache.commons.cli.CommandLine cli) void
int
int
abstract void
invokePlexusComponent
(org.apache.commons.cli.CommandLine cli, org.codehaus.plexus.PlexusContainer container) org.apache.commons.cli.CommandLine
protected void
protected int
showFatalError
(String message, Exception e, boolean show)
-
Field Details
-
QUIET
- See Also:
-
DEBUG
- See Also:
-
ERRORS
- See Also:
-
HELP
- See Also:
-
VERSION
- See Also:
-
SET_SYSTEM_PROPERTY
- See Also:
-
-
Constructor Details
-
AbstractCli
public AbstractCli()
-
-
Method Details
-
buildCliOptions
public abstract org.apache.commons.cli.Options buildCliOptions(org.apache.commons.cli.Options options) - Specified by:
buildCliOptions
in interfaceCli
-
invokePlexusComponent
public abstract void invokePlexusComponent(org.apache.commons.cli.CommandLine cli, org.codehaus.plexus.PlexusContainer container) throws Exception - Specified by:
invokePlexusComponent
in interfaceCli
- Throws:
Exception
-
getPomPropertiesPath
- Specified by:
getPomPropertiesPath
in interfaceCli
-
execute
-
execute
-
customizeContainerConfiguration
protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration configuration, org.apache.commons.cli.CommandLine cli) -
showFatalError
-
showError
-
buildDefaultCliOptions
public org.apache.commons.cli.Options buildDefaultCliOptions() -
parse
public org.apache.commons.cli.CommandLine parse(String[] args) throws org.apache.commons.cli.ParseException - Throws:
org.apache.commons.cli.ParseException
-
displayHelp
public void displayHelp()
-