org.cli4j.commands
Class Shutdown

java.lang.Object
  |
  +--org.cli4j.AbstractCommand
        |
        +--org.cli4j.commands.Shutdown
All Implemented Interfaces:
Command

public final class Shutdown
extends AbstractCommand

This is a sample class that really doesn't do anything; it here primarily to demonstrate that a Command can be run at shutdown, after all the other commands have been stopped.

Version:
@(#) $Id: Shutdown.html,v 1.1 2001/12/16 05:14:50 gmcallister Exp $
Author:
Glenn McAllister

Fields inherited from interface org.cli4j.Command
IDENT
 
Constructor Summary
Shutdown()
           
 
Method Summary
 void execute(Context context, java.lang.String[] arguments)
           
 void start(Context context)
           
 void stop(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shutdown

public Shutdown()
Method Detail

start

public void start(Context context)
           throws CliException
Overrides:
start in class AbstractCommand

execute

public void execute(Context context,
                    java.lang.String[] arguments)
             throws CliException
Overrides:
execute in class AbstractCommand

stop

public void stop(Context context)
          throws CliException
Overrides:
stop in class AbstractCommand