Class ProcessTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.process.ProcessTemplate
Template class that may be used to provide the information needed during initialization.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProcessTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String name, String type) protected
ProcessTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String name, String type, com.aquima.interactions.foundation.GUID id) -
Method Summary
Modifier and TypeMethodDescriptionaddEdge
(com.aquima.interactions.foundation.GUID sourceId, com.aquima.interactions.foundation.GUID targetId) This method may be used to add an edge to the process.addEventStart
(String messageEventName, com.aquima.interactions.process.ds.ProcessNodeType type) addEventStart
(String messageEventName, com.aquima.interactions.process.ds.ProcessNodeType type, com.aquima.interactions.foundation.GUID id) addEventStart
(String messageEventName, ProcessNodeTemplate node) addNode
(com.aquima.interactions.process.ds.ProcessNodeType type) This method may be used to add a (unconnected) node to the process.addNode
(com.aquima.interactions.process.ds.ProcessNodeType type, com.aquima.interactions.foundation.GUID id) This method may be used to add a (unconnected) node to the process.void
addRequiredRole
(String name) This method may be used to add a required role to the process.addStartNode
(com.aquima.interactions.process.ds.ProcessNodeType type) This method may be used to add a node to the process, and also mark it as the start node.com.aquima.interactions.foundation.text.MultilingualText
void
setAuthorizationAlgorithm
(String authorizationAlgorithmName) This method may be used to set the authorization algorithmvoid
setDisplayName
(String displayName) This method may be used to specify the display name of the case.void
setRoutingAlgorithm
(String routingAlgorithmName) This method may be used to set an routing algorithm to the processcom.aquima.interactions.process.ds.IProcessFlowDS
This method converts the template to a data source that can be used during initialization.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ProcessTemplate
-
ProcessTemplate
-
-
Method Details
-
setRoutingAlgorithm
This method may be used to set an routing algorithm to the process- Parameters:
routingAlgorithmName
-
-
setAuthorizationAlgorithm
This method may be used to set the authorization algorithm- Parameters:
authorizationAlgorithmName
- The name of the authorization algorithm
-
getDisplayName
public com.aquima.interactions.foundation.text.MultilingualText getDisplayName() -
setDisplayName
This method may be used to specify the display name of the case.- Parameters:
displayName
- The display name that should be used.
-
addRequiredRole
This method may be used to add a required role to the process.- Parameters:
name
- The name of the role that is required for the process.
-
addNode
This method may be used to add a (unconnected) node to the process.- Parameters:
type
- The type of the node that should be added.- Returns:
- Template for the newly added node.
-
addNode
public ProcessNodeTemplate addNode(com.aquima.interactions.process.ds.ProcessNodeType type, com.aquima.interactions.foundation.GUID id) This method may be used to add a (unconnected) node to the process.- Parameters:
type
- The type of the node that should be added.id
- The id of the new node- Returns:
- Template for the newly added node.
-
addStartNode
This method may be used to add a node to the process, and also mark it as the start node.- Parameters:
type
- The type of the node that should be added.- Returns:
- Template for the newly added node.
-
addEventStart
public ProcessEventStartTemplate addEventStart(String messageEventName, com.aquima.interactions.process.ds.ProcessNodeType type) -
addEventStart
public ProcessEventStartTemplate addEventStart(String messageEventName, com.aquima.interactions.process.ds.ProcessNodeType type, com.aquima.interactions.foundation.GUID id) -
addEventStart
-
addEdge
public ProcessEdgeTemplate addEdge(com.aquima.interactions.foundation.GUID sourceId, com.aquima.interactions.foundation.GUID targetId) This method may be used to add an edge to the process.- Parameters:
sourceId
- The ID of the source node.targetId
- The ID of the target node.- Returns:
- Template for the newly added edge.
-
toDataSource
public com.aquima.interactions.process.ds.IProcessFlowDS toDataSource()This method converts the template to a data source that can be used during initialization.- Returns:
- a data source that can be used during initialization.
-