gov.sandia.ccaffeine.cmd
Class CmdActionExit

java.lang.Object
  extended by gov.sandia.ccaffeine.cmd.CmdActionExit
All Implemented Interfaces:
CmdAction

public class CmdActionExit
extends java.lang.Object
implements CmdAction

Default standard Exit command for all parsers.


Constructor Summary
CmdActionExit()
           
 
Method Summary
 java.lang.String argtype()
          optional string is the exit code to use.
 void doIt(CmdContext cc, java.util.Vector args)
          Generates an exception with exit message.
 java.lang.String help()
          Returns a string containing the description of this command.
 java.lang.String[] names()
          name(s) of the function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdActionExit

public CmdActionExit()
Method Detail

doIt

public void doIt(CmdContext cc,
                 java.util.Vector args)
          throws java.io.EOFException
Generates an exception with exit message.

Specified by:
doIt in interface CmdAction
Throws:
java.io.EOFException

help

public java.lang.String help()
Description copied from interface: CmdAction
Returns a string containing the description of this command.

Specified by:
help in interface CmdAction

argtype

public java.lang.String argtype()
optional string is the exit code to use. .

Specified by:
argtype in interface CmdAction

names

public java.lang.String[] names()
Description copied from interface: CmdAction
name(s) of the function.

Specified by:
names in interface CmdAction