org.hyperic.sigar.cmd.vmware
Class VMware
java.lang.Object
org.hyperic.sigar.shell.ShellCommandBase
org.hyperic.sigar.shell.MultiwordShellCommand
org.hyperic.sigar.cmd.vmware.VMware
- All Implemented Interfaces:
- GetlineCompleter, ShellCommandHandler
- public class VMware
- extends MultiwordShellCommand
- implements GetlineCompleter
|
Method Summary |
java.lang.String |
complete(java.lang.String line)
|
java.lang.String |
getSyntaxArgs()
|
java.lang.String |
getUsageShort()
Get a very brief (40 character) description of the command |
void |
init(java.lang.String commandName,
ShellBase shell)
Initialize this command handler. |
void |
processCommand(java.lang.String[] args)
Handle a command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMware
public VMware(Shell shell)
complete
public java.lang.String complete(java.lang.String line)
- Specified by:
complete in interface GetlineCompleter
init
public void init(java.lang.String commandName,
ShellBase shell)
throws ShellCommandInitException
- Description copied from interface:
ShellCommandHandler
- Initialize this command handler.
- Specified by:
init in interface ShellCommandHandler- Overrides:
init in class ShellCommandBase
- Throws:
ShellCommandInitException
getSyntaxArgs
public java.lang.String getSyntaxArgs()
- Overrides:
getSyntaxArgs in class MultiwordShellCommand
getUsageShort
public java.lang.String getUsageShort()
- Description copied from interface:
ShellCommandHandler
- Get a very brief (40 character) description of the command
- Specified by:
getUsageShort in interface ShellCommandHandler- Overrides:
getUsageShort in class ShellCommandBase
processCommand
public void processCommand(java.lang.String[] args)
throws ShellCommandUsageException,
ShellCommandExecException
- Description copied from interface:
ShellCommandHandler
- Handle a command.
- Specified by:
processCommand in interface ShellCommandHandler- Overrides:
processCommand in class MultiwordShellCommand
- Throws:
ShellCommandUsageException
ShellCommandExecException
Copyright © 2004-2008 Hyperic. All Rights Reserved.