Package org.aksw.iguana.cc.config
Class ConfigManager
- java.lang.Object
-
- org.aksw.iguana.cc.config.ConfigManager
-
public class ConfigManager extends java.lang.Object
Manages an incoming Configuration and starts the correspondingIguanaConfig
- Author:
- f.conrads
-
-
Constructor Summary
Constructors Constructor Description ConfigManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
receiveData(java.io.File configuration, java.lang.Boolean validate)
Will receive a JSON or YAML configuration and executes the configuration as an Iguana Suitevoid
startConfig(IguanaConfig config)
Starts the Config
-
-
-
Method Detail
-
receiveData
public void receiveData(java.io.File configuration, java.lang.Boolean validate) throws java.io.IOException
Will receive a JSON or YAML configuration and executes the configuration as an Iguana Suite- Parameters:
configuration
-validate
- checks if error should be thrown if it validates the configuration given the iguana-schema.json schema- Throws:
java.io.IOException
-
startConfig
public void startConfig(IguanaConfig config)
Starts the Config
-
-