Package org.opt4j.core.start
Class Opt4J
- java.lang.Object
-
- org.opt4j.core.config.visualization.Configurator
-
- org.opt4j.core.start.Opt4J
-
public class Opt4J extends Configurator
TheOpt4J
configuration GUI.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ModuleListUser
moduleList
protected static java.util.Properties
props
-
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(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 theConfigurator
.static java.lang.String
getVersion()
Returns the version of the current build.static void
main(java.lang.String[] args)
Starts theOpt4J
configuration GUI.void
start(java.lang.String[] args)
Starts theConfigurator
.-
Methods inherited from class org.opt4j.core.config.visualization.Configurator
main
-
-
-
-
Field Detail
-
moduleList
protected static final ModuleListUser moduleList
-
props
protected static java.util.Properties props
-
-
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 theOpt4J
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 splash screen
-
start
public void start(java.lang.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(java.lang.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
-
-