Class ProcessMappingTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.ProcessMappingTemplate
Template that can be used to initialize a process mapping.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProcessMappingTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, ApplicationTemplate model) -
Method Summary
Modifier and TypeMethodDescriptionaddTaskMapping
(String taskName, String flowName) This method may be used to add a mapping for a specific task.protected String
protected com.aquima.interactions.foundation.Version
This method returns the template that can be used to specify the case data mapping.protected String
This method returns the template that can be used to specify the case update mapping.protected String
protected List
<TaskMappingTemplate> void
setApplicationName
(String name) This method may be used to specify the name of the application containing the process definitions.void
setApplicationVersion
(com.aquima.interactions.foundation.Version version) This method may be used to specify the version of the application containing the process definitions.setCaseDataMapping
(String name) setCaseUpdateMapping
(String name) com.aquima.interactions.portal.ds.IProcessMappingDS
This method returns a data-source implementation based on this template.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ProcessMappingTemplate
protected ProcessMappingTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, ApplicationTemplate model)
-
-
Method Details
-
getCaseDataMapping
This method returns the template that can be used to specify the case data mapping. The case data mapping should map from the process module to the main module.- Returns:
- the template that can be used to specify the case data mapping.
-
setCaseDataMapping
-
getCaseUpdateMapping
This method returns the template that can be used to specify the case update mapping. The case update mapping should map from the main module to the process module.- Returns:
- the template that can be used to specify the case data mapping.
-
setCaseUpdateMapping
-
getApplicationName
-
setApplicationName
This method may be used to specify the name of the application containing the process definitions.- Parameters:
name
- the name of the application containing the process definitions.
-
getApplicationVersion
protected com.aquima.interactions.foundation.Version getApplicationVersion() -
setApplicationVersion
public void setApplicationVersion(com.aquima.interactions.foundation.Version version) This method may be used to specify the version of the application containing the process definitions. By default the mapping will refer to the- Parameters:
version
- the version of the application containing the process definitions.
-
addTaskMapping
This method may be used to add a mapping for a specific task.- Parameters:
taskName
- The name of the task for which the mapping is specified.flowName
- The name of the flow the task should be mapped to.- Returns:
- Template representing the newly added task mapping.
-
getTaskMappings
-
toDataSource
public com.aquima.interactions.portal.ds.IProcessMappingDS toDataSource()This method returns a data-source implementation based on this template.- Returns:
- data-source implementation based on this template.
-
getCaseDataMappingName
-
getCaseUpdateMappingName
-