Class Configurator

    • Constructor Summary

      Constructors 
      Constructor Description
      Configurator()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.inject.Module getModule​(java.lang.Class<? extends Task> taskClass)
      Returns the module for the Configurator.
      void main​(java.lang.Class<? extends Task> taskClass, java.lang.String filename)
      Starts the Configurator with the specified task class and the file to be loaded.
      static void main​(java.lang.String[] args)
      Starts the Configurator.
      void start​(java.lang.String[] args)
      Starts the Configurator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Configurator

        public Configurator()
    • Method Detail

      • main

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

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

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

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