public class ShellCommand_sleep extends ShellCommandBase
itsCommandName, itsShell| Constructor and Description |
|---|
ShellCommand_sleep() |
| 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, initpublic 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.