org.opt4j.core.start
Class Opt4J

java.lang.Object
  extended by org.opt4j.core.config.visualization.Configurator
      extended by org.opt4j.core.start.Opt4J

public class Opt4J
extends Configurator

The Opt4J configuration GUI.


Field Summary
protected static ModuleListUser moduleList
           
protected static java.util.Properties props
           
 
Constructor Summary
Opt4J()
           
 
Method Summary
protected static void decorateVersionDate(java.awt.SplashScreen splash)
          Decorate the splash screen with the version and date.
static java.lang.String getDateISO()
          Returns the date of the current build.
 com.google.inject.Module getModule(java.lang.Class<? extends Task> taskClass)
          Returns the module for the Configurator.
static java.lang.String getVersion()
          Returns the version of the current build.
static void main(java.lang.String[] args)
          Starts the Opt4J configuration GUI.
 void start(java.lang.String[] args)
          Starts the Configurator.
 
Methods inherited from class org.opt4j.core.config.visualization.Configurator
main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moduleList

protected static final ModuleListUser moduleList

props

protected static java.util.Properties props
Constructor Detail

Opt4J

public Opt4J()
Method Detail

getVersion

public static java.lang.String getVersion()
Returns the version of the current build.

Returns:
the version

getDateISO

public static java.lang.String getDateISO()
Returns the date of the current build.

Returns:
the date

main

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

Parameters:
args - accepts a configuration file
Throws:
java.lang.Exception

decorateVersionDate

protected static void decorateVersionDate(java.awt.SplashScreen splash)
Decorate the splash screen with the version and date.

Parameters:
splash - the slpash screen

start

public void start(java.lang.String[] args)
Description copied from class: Configurator
Starts the Configurator.

Overrides:
start in class Configurator
Parameters:
args - the input configuration files to be loaded

getModule

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

Overrides:
getModule in class Configurator
Parameters:
taskClass - the task class
Returns:
the module