|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.cli4j.AbstractCommand
|
+--org.cli4j.commands.Shutdown
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.
| 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 |
public Shutdown()
| Method Detail |
public void start(Context context)
throws CliException
start in class AbstractCommand
public void execute(Context context,
java.lang.String[] arguments)
throws CliException
execute in class AbstractCommand
public void stop(Context context)
throws CliException
stop in class AbstractCommand
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||