public class ShellCommand_help extends ShellCommandBase
itsCommandName, itsShell
Constructor and Description |
---|
ShellCommand_help() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSyntaxArgs() |
java.lang.String |
getUsageHelp(java.lang.String[] args)
Get some info on how to invoke this command.
|
java.lang.String |
getUsageShort()
Get a very brief (40 character) description of the command
|
void |
processCommand(java.lang.String[] args)
Handle a command.
|
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init
public void processCommand(java.lang.String[] args) throws ShellCommandUsageException, ShellCommandExecException
ShellCommandHandler
processCommand
in interface ShellCommandHandler
processCommand
in class ShellCommandBase
args
- The args to the command.ShellCommandUsageException
- If the args are malformed.ShellCommandExecException
- If an error occurred
executing the command.public java.lang.String getSyntaxArgs()
getSyntaxArgs
in class ShellCommandBase
public java.lang.String getUsageShort()
ShellCommandHandler
getUsageShort
in interface ShellCommandHandler
getUsageShort
in class ShellCommandBase
public java.lang.String getUsageHelp(java.lang.String[] args)
ShellCommandHandler
getUsageHelp
in interface ShellCommandHandler
getUsageHelp
in class ShellCommandBase
Copyright ? 2004-2011 Hyperic. All Rights Reserved.