Class ProcessMapping
java.lang.Object
com.aquima.interactions.portal.model.process.ProcessMapping
- All Implemented Interfaces:
IProcessMapping
Class managing the task and case data mappings.
- Since:
- 7.1
- Author:
- O. Kerpershoek, Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProcessMapping
(ISolution parent, IModuleCache modules, IProcessMappingDS datasource, IProcessEngine processEngine) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the application that contains the process definitions.This method returns the version of the application that contains the process definitions.This method returns the mapper that may be used to map the model of the process engine to the model of this application.This method returns the mapper that may be used to map the model of this application to the model of the process engine.protected IProcessEngine
getTaskMapping
(String taskName) Gets the appropriate task mapping.getTaskMapping
(String taskName, InferenceContext context) Gets the appropriate task mapping.
-
Constructor Details
-
ProcessMapping
protected ProcessMapping(ISolution parent, IModuleCache modules, IProcessMappingDS datasource, IProcessEngine processEngine) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
getProcessEngine
-
getTaskMapping
Description copied from interface:IProcessMapping
Gets the appropriate task mapping.The task mappings are parsed in the definition order and the first one the satisfies the following conditions is returned:
- No precondition is set (
TaskMapping.getPrecondition()
returns null); - A precondition is set and it evaluates to a single boolean value of TRUE.
- Specified by:
getTaskMapping
in interfaceIProcessMapping
- Parameters:
taskName
- The task for which the task mapping should be returnedcontext
- The context used to evaluate the precondition expressions against- Returns:
- The task mapping as described above
- No precondition is set (
-
getTaskMapping
Description copied from interface:IProcessMapping
Gets the appropriate task mapping.The task mappings are parsed in the definition order and the first one the satisfies the following conditions is returned:
- No precondition is set (
TaskMapping.getPrecondition()
returns null); - Mapping with preconditions are not supported
- Specified by:
getTaskMapping
in interfaceIProcessMapping
- Parameters:
taskName
- The task for which the task mapping should be returned- Returns:
- The task mapping as described above
- No precondition is set (
-
getApplicationName
Description copied from interface:IProcessMapping
This method returns the name of the application that contains the process definitions.- Specified by:
getApplicationName
in interfaceIProcessMapping
- Returns:
- The name of the application that contains the process definitions.
-
getApplicationVersion
Description copied from interface:IProcessMapping
This method returns the version of the application that contains the process definitions.- Specified by:
getApplicationVersion
in interfaceIProcessMapping
- Returns:
- The version of the application that contains the process definitions.
-
getCaseDataMapping
Description copied from interface:IProcessMapping
This method returns the mapper that may be used to map the model of the process engine to the model of this application.- Specified by:
getCaseDataMapping
in interfaceIProcessMapping
- Returns:
- The profile mapper, may be null.
-
getCaseUpdateMapping
Description copied from interface:IProcessMapping
This method returns the mapper that may be used to map the model of this application to the model of the process engine.- Specified by:
getCaseUpdateMapping
in interfaceIProcessMapping
- Returns:
- The profile mapper, may be null.
-