Class Opt4J

    • 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 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

      • 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 splash 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