loadDecisionModel
public static DecisionConfiguration loadDecisionModel(java.lang.String configPath)
throws java.lang.IllegalArgumentException,
java.io.IOException,
com.fasterxml.jackson.databind.JsonMappingException,
com.fasterxml.jackson.core.JsonParseException
Method to load the implemented decision processes from the configuration path as JSON file
- Parameters:
configPath
- The (relative) path the decision configuration file is located at
- Returns:
- Will return a DecisionConfiguration based on the configured decision making processes
- Throws:
java.lang.IllegalArgumentException
- Will be thrown when the configuration of the decision making processes (in the config path) is erroneous (parameters for relevant decision making processes missing)
java.io.IOException
- Will be thrown when an error occurs handling the file storing the configuration of the referred decision configuration
com.fasterxml.jackson.core.JsonParseException
- Will be thrown upon a parse error for the json file corresponding to the file handler
com.fasterxml.jackson.databind.JsonMappingException
- Will be thrown upon a mapping error for the json file corresponding to the file handler