org.hyperic.sigar.cmd.vmware
Class VMware_ctl

java.lang.Object
  extended byorg.hyperic.sigar.shell.ShellCommandBase
      extended byorg.hyperic.sigar.cmd.SigarCommandBase
          extended byorg.hyperic.sigar.cmd.vmware.VMwareCommand
              extended byorg.hyperic.sigar.cmd.vmware.VMware_ctl
All Implemented Interfaces:
GetlineCompleter, ShellCommandHandler

public class VMware_ctl
extends org.hyperic.sigar.cmd.vmware.VMwareCommand


Field Summary
 
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
 
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
 
Constructor Summary
VMware_ctl()
           
VMware_ctl(Shell shell)
           
 
Method Summary
protected  VMwareServer getServer()
           
 java.lang.String getSyntaxArgs()
           
 java.lang.String getUsageShort()
          Get a very brief (40 character) description of the command
 void output(java.lang.String[] args)
           
protected  boolean validateArgs(java.lang.String[] args)
           
 
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
 
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMware_ctl

public VMware_ctl(Shell shell)

VMware_ctl

public VMware_ctl()
Method Detail

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

getSyntaxArgs

public java.lang.String getSyntaxArgs()
Overrides:
getSyntaxArgs in class ShellCommandBase

validateArgs

protected boolean validateArgs(java.lang.String[] args)
Overrides:
validateArgs in class SigarCommandBase

output

public void output(java.lang.String[] args)
            throws SigarException
Specified by:
output in class SigarCommandBase
Throws:
SigarException

getServer

protected VMwareServer getServer()
                          throws SigarException
Throws:
SigarException


Copyright © 2004-2008 Hyperic. All Rights Reserved.