org.opt4j.core.config.visualization
Class Configurator

java.lang.Object
  extended by org.opt4j.core.config.visualization.Configurator
Direct Known Subclasses:
Opt4J

public class Configurator
extends java.lang.Object

The Configurator configures the modules and starts the specific ApplicationFrame.

See Also:
ApplicationFrame

Constructor Summary
Configurator()
           
 
Method Summary
 com.google.inject.Module getModule(java.lang.Class<? extends Task> taskClass)
          Returns the module for the Configurator.
 void main(java.lang.Class<? extends Task> taskClass, java.lang.String filename)
          Starts the Configurator with the specified task class and the file to be loaded.
static void main(java.lang.String[] args)
          Starts the Configurator.
 void start(java.lang.String[] args)
          Starts the Configurator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configurator

public Configurator()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Starts the Configurator.

Parameters:
args - specify one or more input configuration files to be loaded
Throws:
java.lang.Exception

start

public void start(java.lang.String[] args)
           throws java.lang.ClassNotFoundException
Starts the Configurator.

Parameters:
args - the input configuration files to be loaded
Throws:
java.lang.ClassNotFoundException

getModule

public com.google.inject.Module getModule(java.lang.Class<? extends Task> taskClass)
Returns the module for the Configurator.

Parameters:
taskClass - the task class
Returns:
the module

main

public void main(java.lang.Class<? extends Task> taskClass,
                 java.lang.String filename)
Starts the Configurator with the specified task class and the file to be loaded.

Parameters:
taskClass - the task class
filename - the filename of the configuration file to be loaded