org.hyperic.sigar.cmd.vmware
Class VMware

java.lang.Object
  extended byorg.hyperic.sigar.shell.ShellCommandBase
      extended byorg.hyperic.sigar.shell.MultiwordShellCommand
          extended byorg.hyperic.sigar.cmd.vmware.VMware
All Implemented Interfaces:
GetlineCompleter, ShellCommandHandler

public class VMware
extends MultiwordShellCommand
implements GetlineCompleter


Field Summary
 
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
 
Constructor Summary
VMware(Shell shell)
           
 
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 org.hyperic.sigar.shell.MultiwordShellCommand
getHandlerNames, getSubHandler, getUsageHelp, registerSubHandler
 
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMware

public VMware(Shell shell)
Method Detail

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.