|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.Main.Action
The Action class defines a new action that the main driver is
capable of executing. Each instance of Action is inserted into
a hash map in the main class, with the key being its name. For example,
the action to simulate a program is inserted into this hash map with the key
"simulate", and an instance of avrora.sim.SimulateAction.
| Constructor Summary | |
Main.Action()
|
|
| Method Summary | |
abstract java.lang.String |
getHelp()
|
abstract void |
run(java.lang.String[] args)
The run() method is called by the main class and is passed
the remaining command line arguments after options have been stripped out. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Main.Action()
| Method Detail |
public abstract void run(java.lang.String[] args)
throws java.lang.Exception
run() method is called by the main class and is passed
the remaining command line arguments after options have been stripped out.
args - the command line arguments
java.lang.Exceptionpublic abstract java.lang.String getHelp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||