Class MainController


  • public class MainController
    extends java.lang.Object
    The main controller for the core. Will execute the Config Manager and the consuming for configurations.
    Author:
    f.conrads
    • Constructor Summary

      Constructors 
      Constructor Description
      MainController()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] argc)
      main method for standalone controlling.
      void start​(java.lang.String configFile, java.lang.Boolean validate)
      Starts a configuration using the config file an states if Iguana should validate it using a json-schema
      • Methods inherited from class java.lang.Object

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

      • MainController

        public MainController()
    • Method Detail

      • main

        public static void main​(java.lang.String[] argc)
                         throws java.io.IOException
        main method for standalone controlling. If the TaskController should run standalone instead of in the core itself
        Parameters:
        argc -
        Throws:
        java.io.IOException
      • start

        public void start​(java.lang.String configFile,
                          java.lang.Boolean validate)
                   throws java.io.IOException
        Starts a configuration using the config file an states if Iguana should validate it using a json-schema
        Parameters:
        configFile - the Iguana config file
        validate - should the config file be validated using a json-schema
        Throws:
        java.io.IOException