|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.sigar.shell.ShellCommandBase
org.hyperic.sigar.shell.ShellCommand_help
public class ShellCommand_help
| Field Summary |
|---|
| Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase |
|---|
itsCommandName, itsShell |
| Constructor Summary | |
|---|---|
ShellCommand_help()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase |
|---|
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShellCommand_help()
| Method Detail |
|---|
public void processCommand(java.lang.String[] args)
throws ShellCommandUsageException,
ShellCommandExecException
ShellCommandHandler
processCommand 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()
ShellCommandHandler
getUsageShort in interface ShellCommandHandlergetUsageShort in class ShellCommandBasepublic java.lang.String getUsageHelp(java.lang.String[] args)
ShellCommandHandler
getUsageHelp in interface ShellCommandHandlergetUsageHelp in class ShellCommandBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||