loadProcessModel
public static ProcessModel loadProcessModel(java.lang.String configPath)
throws java.lang.IllegalArgumentException,
java.io.IOException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException
Loads the process model from the specified configuration path
- Parameters:
configPath
- The (relative) path from which to load the process model
- Returns:
- Will return the process model configuration as an object, corresponding to the configuration provided in the configuration file
- Throws:
java.io.IOException
- Will be thrown when an error occurs handling the file storing the configuration of the referred preference 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
java.lang.IllegalArgumentException
- Will be thrown when configuration file has no entries for the process model or the adoption replacement scheme, when an unimplemented process model is specified or the method to load an adoption replacement scheme throws one