Class FlowNodeTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.flow.NodeTemplate
com.aquima.interactions.test.templates.flow.FlowNodeTemplate
This template represents a flow node.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FlowNodeTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, FlowTemplate flowTemplate, String targetId) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
protected String
protected boolean
void
setPrimitiveTargetAttribute
(String attribute) void
setRepeatExpression
(String repeatExpression) This method can be used to set the repeat expression of the sub flow.void
setSortAscending
(boolean sortAscending) This method can be used to specify if the values from the repeat expression should be sorted in an ascending order.void
setSortAttribute
(String attribute) This method can be used to set the attribute that is used for sorting the repeat expression values.com.aquima.interactions.flow.ds.INodeDS
This method converts the template to a data source that can be used to initialize a flow node.Methods inherited from class com.aquima.interactions.test.templates.flow.NodeTemplate
addCondition, addEndNode, addEvent, addFlow, addFunctionCall, addPage, addServiceCall, addServiceCall, getEdge, getEdge, getEdges, getFlowTemplate, getId, getTargetId
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
FlowNodeTemplate
protected FlowNodeTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, FlowTemplate flowTemplate, String targetId)
-
-
Method Details
-
toDataSource
public com.aquima.interactions.flow.ds.INodeDS toDataSource()Description copied from class:NodeTemplate
This method converts the template to a data source that can be used to initialize a flow node.- Specified by:
toDataSource
in classNodeTemplate
- Returns:
- a data source that can be used to initialize a flow node.
-
setRepeatExpression
This method can be used to set the repeat expression of the sub flow.- Parameters:
repeatExpression
- The repeat expression for the sub flow.
-
setSortAttribute
This method can be used to set the attribute that is used for sorting the repeat expression values.- Parameters:
attribute
- The attribute used for sorting.
-
setPrimitiveTargetAttribute
-
setSortAscending
public void setSortAscending(boolean sortAscending) This method can be used to specify if the values from the repeat expression should be sorted in an ascending order. The default value is true.- Parameters:
sortAscending
- Boolean indicating if the instances should be sorted ascending.
-
getRepeatExpression
-
getSortAttribute
-
isSortAscending
protected boolean isSortAscending() -
getPrimitiveTargetAttribute
-