org.apache.geronimo.cli.deployer
Class BaseCommandMetaData

java.lang.Object
  extended by org.apache.geronimo.cli.deployer.BaseCommandMetaData
All Implemented Interfaces:
CommandMetaData
Direct Known Subclasses:
CommandFileCommandMetaData, DeployCommandMetaData, DistributeCommandMetaData, HelpCommandMetaData, InstallLibraryCommandMetaData, InstallPluginCommandMetaData, ListModulesCommandMetaData, ListTargetsCommandMetaData, LoginCommandMetaData, RedeployCommandMetaData, RestartCommandMetaData, SearchPluginsCommandMetaData, StartCommandMetaData, StopCommandMetaData, UndeployCommandMetaData

public abstract class BaseCommandMetaData
extends Object
implements CommandMetaData


Constructor Summary
protected BaseCommandMetaData(String command, String group, String helpArgumentList, String helpText)
           
 
Method Summary
 String getCommandGroup()
           
 String getCommandName()
           
 String getHelpArgumentList()
           
 String getHelpText()
           
 CommandArgs parse(String[] newArgs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCommandMetaData

protected BaseCommandMetaData(String command,
                              String group,
                              String helpArgumentList,
                              String helpText)
Method Detail

parse

public CommandArgs parse(String[] newArgs)
                  throws CLParserException
Specified by:
parse in interface CommandMetaData
Throws:
CLParserException

getCommandName

public String getCommandName()
Specified by:
getCommandName in interface CommandMetaData

getHelpArgumentList

public String getHelpArgumentList()
Specified by:
getHelpArgumentList in interface CommandMetaData

getHelpText

public String getHelpText()
Specified by:
getHelpText in interface CommandMetaData

getCommandGroup

public String getCommandGroup()
Specified by:
getCommandGroup in interface CommandMetaData


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.