avrora.actions
Class DBBCAction

java.lang.Object
  extended byavrora.util.help.HelpCategory
      extended byavrora.actions.Action
          extended byavrora.actions.DBBCAction
All Implemented Interfaces:
HelpItem

public class DBBCAction
extends Action

The DBBCAction class contains a simple test action where a program can be loaded and compiled to Java source by the DBBC and that source is output on the console. This is mostly used for testing the DBBC.


Field Summary
static java.lang.String HELP
           
 
Fields inherited from class avrora.actions.Action
options
 
Fields inherited from class avrora.util.help.HelpCategory
COMPARATOR, help, name
 
Constructor Summary
DBBCAction()
           
 
Method Summary
 void run(java.lang.String[] args)
          The run() method starts the DBBC test with the given program.
 
Methods inherited from class avrora.actions.Action
newOption, newOption, newOption, newOption, newOption, newOptionList
 
Methods inherited from class avrora.util.help.HelpCategory
addCommandExample, addListSection, addOptionSection, addSection, addSubcategorySection, getHelp, getName, printHelp, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP

public static java.lang.String HELP
Constructor Detail

DBBCAction

public DBBCAction()
Method Detail

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
The run() method starts the DBBC test with the given program. The program is compiled to Java source and each compiled block is output to the console.

Specified by:
run in class Action
Parameters:
args - the arguments from the command line to the DBBC test program
Throws:
java.lang.Exception