public class ShellCommand_alias extends ShellCommandBase
itsCommandName, itsShell| Constructor and Description |
|---|
ShellCommand_alias() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
getAlias(java.lang.String alias) |
static java.util.Iterator |
getAliases() |
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, initpublic static java.lang.String[] getAlias(java.lang.String alias)
public static java.util.Iterator getAliases()
public void processCommand(java.lang.String[] args)
throws ShellCommandUsageException,
ShellCommandExecException
ShellCommandHandlerprocessCommand in interface ShellCommandHandlerprocessCommand in class ShellCommandBaseargs - 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 ShellCommandBasepublic java.lang.String getUsageShort()
ShellCommandHandlergetUsageShort in interface ShellCommandHandlergetUsageShort in class ShellCommandBasepublic java.lang.String getUsageHelp(java.lang.String[] args)
ShellCommandHandlergetUsageHelp in interface ShellCommandHandlergetUsageHelp in class ShellCommandBaseCopyright ? 2004-2011 Hyperic. All Rights Reserved.