org.hyperic.sigar.shell
Class ShellCommand_quit

java.lang.Object
  extended byorg.hyperic.sigar.shell.ShellCommandBase
      extended byorg.hyperic.sigar.shell.ShellCommand_quit
All Implemented Interfaces:
ShellCommandHandler

public class ShellCommand_quit
extends ShellCommandBase


Field Summary
 
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
 
Constructor Summary
ShellCommand_quit()
           
 
Method Summary
 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, getSyntaxArgs, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellCommand_quit

public ShellCommand_quit()
Method Detail

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 ShellCommandBase
Throws:
ShellCommandUsageException
ShellCommandExecException

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

getUsageHelp

public java.lang.String getUsageHelp(java.lang.String[] args)
Description copied from interface: ShellCommandHandler
Get some info on how to invoke this command.

Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase


Copyright © 2004-2006 Hyperic. All Rights Reserved.