|
|||||||||
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_get
public class ShellCommand_get
Field Summary |
---|
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase |
---|
itsCommandName, itsShell |
Constructor Summary | |
---|---|
ShellCommand_get()
|
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_get()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |