Class Configurator

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

public class Configurator extends Object
The Configurator configures the modules and starts the specific ApplicationFrame.
See Also:
  • Constructor Details

    • Configurator

      public Configurator()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Starts the Configurator.
      Parameters:
      args - specify one or more input configuration files to be loaded
      Throws:
      Exception
    • start

      public void start(String[] args) throws ClassNotFoundException
      Starts the Configurator.
      Parameters:
      args - the input configuration files to be loaded
      Throws:
      ClassNotFoundException
    • getModule

      public com.google.inject.Module getModule(Class<? extends Task> taskClass)
      Returns the module for the Configurator.
      Parameters:
      taskClass - the task class
      Returns:
      the module
    • main

      public void main(Class<? extends Task> taskClass, 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