Class TaskMappingTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.TaskMappingTemplate
Template that can be used to initialize a task mapping.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TaskMappingTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, ApplicationTemplate app, String taskName, String flowName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExitMapping
(String flowExitExvent, String taskExitState) This method may be used to specify the mapping between a flow exit event and a task exit state.protected String
protected com.aquima.interactions.foundation.Version
This method returns the mapping between the case-data and the target application model.protected String
protected List
<com.aquima.interactions.test.templates.ExitMapping> protected String
This method returns the mapping for the target application back to the case model.protected String
protected String
void
setApplicationName
(String name) this method may be used to specify the name of the application the task should be mapped to.void
setApplicationVersion
(com.aquima.interactions.foundation.Version version) this method may be used to specify the version of the application the task should be mapped to.setCaseMapping
(String name) void
setPrecondition
(String precondition) setResultMapping
(String name) com.aquima.interactions.portal.ds.ITaskMappingDS
This method returns a data-source implementation based on this template.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
TaskMappingTemplate
protected TaskMappingTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, ApplicationTemplate app, String taskName, String flowName)
-
-
Method Details
-
getCaseMapping
This method returns the mapping between the case-data and the target application model.- Returns:
- the mapping between the case-data and the target application model.
-
setCaseMapping
-
getResultMapping
This method returns the mapping for the target application back to the case model.- Returns:
- the mapping for the target application back to the case model.
-
setResultMapping
-
getTaskName
-
getFlowName
-
setApplicationName
this method may be used to specify the name of the application the task should be mapped to.- Parameters:
name
- the name of the application the task should be mapped to.
-
getAppName
-
setApplicationVersion
public void setApplicationVersion(com.aquima.interactions.foundation.Version version) this method may be used to specify the version of the application the task should be mapped to.- Parameters:
version
- the version of the application the task should be mapped to.
-
getAppVersion
protected com.aquima.interactions.foundation.Version getAppVersion() -
addExitMapping
This method may be used to specify the mapping between a flow exit event and a task exit state.- Parameters:
flowExitExvent
- The name of the flow exit.taskExitState
- The name of the task exit.
-
getExitMappings
-
toDataSource
public com.aquima.interactions.portal.ds.ITaskMappingDS toDataSource()This method returns a data-source implementation based on this template.- Returns:
- data-source implementation based on this template.
-
getResultMappingName
-
getCaseMappingName
-
getPrecondition
-
setPrecondition
-