org.codehaus.plexus.tools.cli
Class AbstractCli
java.lang.Object
org.codehaus.plexus.tools.cli.AbstractCli
- All Implemented Interfaces:
- Cli
public abstract class AbstractCli
- extends Object
- implements Cli
- Version:
- $Id: AbstractCli.java 8335 2009-08-12 13:55:32Z bentmann $
- Author:
- jason van zyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUIET
public static final char QUIET
- See Also:
- Constant Field Values
DEBUG
public static final char DEBUG
- See Also:
- Constant Field Values
ERRORS
public static final char ERRORS
- See Also:
- Constant Field Values
HELP
public static final char HELP
- See Also:
- Constant Field Values
VERSION
public static final char VERSION
- See Also:
- Constant Field Values
SET_SYSTEM_PROPERTY
public static final char SET_SYSTEM_PROPERTY
- See Also:
- Constant Field Values
AbstractCli
public AbstractCli()
buildCliOptions
public abstract org.apache.commons.cli.Options buildCliOptions(org.apache.commons.cli.Options options)
- Specified by:
buildCliOptions
in interface Cli
invokePlexusComponent
public abstract void invokePlexusComponent(org.apache.commons.cli.CommandLine cli,
org.codehaus.plexus.PlexusContainer container)
throws Exception
- Specified by:
invokePlexusComponent
in interface Cli
- Throws:
Exception
getPomPropertiesPath
public String getPomPropertiesPath()
- Specified by:
getPomPropertiesPath
in interface Cli
execute
public int execute(String[] args)
execute
public int execute(String[] args,
org.codehaus.plexus.classworlds.ClassWorld classWorld)
showFatalError
protected int showFatalError(String message,
Exception e,
boolean show)
showError
protected void showError(String message,
Exception e,
boolean show)
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()
Copyright © 2001-2011 Codehaus. All Rights Reserved.