Package org.opt4j.start
Class Opt4J
- java.lang.Object
-
- org.opt4j.config.visualization.Configurator
-
- org.opt4j.start.Opt4J
-
public class Opt4J extends Configurator
TheOpt4J
configuration GUI.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ModuleListUser
moduleList
-
Constructor Summary
Constructors Constructor Description Opt4J()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
decorateVersionDate(SplashScreen splash)
Decorate the splash screen with the version and date.com.google.inject.Module
getModule(Class<? extends Task> taskClass)
Returns the module for theConfigurator
.protected static void
initVisualization(org.opt4j.start.Opt4J.SplashDecorator splash)
static void
main(String[] args)
Starts theOpt4J
configuration GUI.void
start(String[] args)
Starts theConfigurator
.-
Methods inherited from class org.opt4j.config.visualization.Configurator
main
-
-
-
-
Field Detail
-
moduleList
protected static final ModuleListUser moduleList
-
-
Method Detail
-
main
public static void main(String[] args) throws Exception
Starts theOpt4J
configuration GUI.- Parameters:
args
- accepts a configuration file- Throws:
Exception
-
initVisualization
protected static void initVisualization(org.opt4j.start.Opt4J.SplashDecorator splash)
-
decorateVersionDate
protected static void decorateVersionDate(SplashScreen splash)
Decorate the splash screen with the version and date.- Parameters:
splash
- the slpash screen
-
start
public void start(String[] args)
Description copied from class:Configurator
Starts theConfigurator
.- Overrides:
start
in classConfigurator
- Parameters:
args
- the input configuration files to be loaded
-
getModule
public com.google.inject.Module getModule(Class<? extends Task> taskClass)
Description copied from class:Configurator
Returns the module for theConfigurator
.- Overrides:
getModule
in classConfigurator
- Parameters:
taskClass
- the task class- Returns:
- the module
-
-