Class Starter

java.lang.Object
org.opt4j.config.Starter
Direct Known Subclasses:
Opt4JStarter

public class Starter extends Object
The Starter executes configuration files.
  • Constructor Details

    • Starter

      public Starter()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Start configuration files. Using multiple configuration files: Execute the Tasks successively.
      Parameters:
      args - the configuration files
      Throws:
      Exception
    • execute

      public void execute(String[] args) throws Exception
      Executor method.
      Parameters:
      args - the configuration files
      Throws:
      Exception
    • execute

      public void execute(Class<? extends Task> taskClass, String[] filenames) throws Exception
      Executor method.
      Parameters:
      taskClass - the class of the task to use
      filenames - the configuration files
      Throws:
      Exception
    • addPlugins

      public Collection<File> addPlugins()
      Adds jar files to the classpath. Searches in folder plugins.
      Returns:
      all found and added jar files