avrora.actions
Class ListAction

java.lang.Object
  extended byavrora.actions.Action
      extended byavrora.actions.ListAction

public class ListAction
extends Action

The ListAction class encapsulates an action that simply prints a digest of the program. As of yet, this listing is pretty barbaric.


Field Summary
static java.lang.String HELP
           
 
Fields inherited from class avrora.actions.Action
help, options, shortName
 
Constructor Summary
ListAction()
           
 
Method Summary
 void run(java.lang.String[] args)
          The run() method simply runs the listing action which dumps out the program onto the console.
 
Methods inherited from class avrora.actions.Action
getHelp, getShortName, newOption, newOption, newOption, newOption, newOption, newOptionList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP

public static final java.lang.String HELP
See Also:
Constant Field Values
Constructor Detail

ListAction

public ListAction()
Method Detail

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
The run() method simply runs the listing action which dumps out the program onto the console.

Specified by:
run in class Action
Parameters:
args - the arguments to the list action, including the program to list
Throws:
java.lang.Exception