org.hyperic.sigar.cmd
Class Win32Service

java.lang.Object
  extended by org.hyperic.sigar.shell.ShellCommandBase
      extended by org.hyperic.sigar.cmd.SigarCommandBase
          extended by org.hyperic.sigar.cmd.Win32Service
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter

public class Win32Service
extends SigarCommandBase


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
Win32Service()
           
Win32Service(Shell shell)
           
 
Method Summary
 java.util.Collection getCompletions()
           
 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, 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

Win32Service

public Win32Service()

Win32Service

public Win32Service(Shell shell)
Method Detail

getSyntaxArgs

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

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
Returns:
A description of the command.

validateArgs

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

getCompletions

public java.util.Collection getCompletions()
Overrides:
getCompletions in class SigarCommandBase

output

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


Copyright ? 2004-2009 Hyperic. All Rights Reserved.