Class ProcessEdgeTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.process.ProcessEdgeTemplate
Template class that may be used to provide the information needed during initialization.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProcessEdgeTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, ProcessTemplate parent, com.aquima.interactions.foundation.GUID sourceId, com.aquima.interactions.foundation.GUID targetId) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
protected com.aquima.interactions.foundation.GUID
getId()
com.aquima.interactions.process.impl.ReevaluationEvent
protected long
protected com.aquima.interactions.foundation.GUID
This method may be used to request the template of the source node.protected com.aquima.interactions.foundation.GUID
This method may be used to request the template of the target node.protected boolean
void
setCondition
(String condition) This method may be used to specify the condition for the edge.void
setExitState
(String exitState) This method may be used to specify the exit state of the source node the edge should connect to.void
setReevaluationEvent
(com.aquima.interactions.process.impl.ReevaluationEvent reevaluationEvent) void
setSequenceNr
(long nr) This method may be used to specify the sequence number of the edge.void
setTimerEdge
(boolean flag) This method may be used to specify the edge is a timer edge.com.aquima.interactions.process.ds.IProcessEdgeDS
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
-
ProcessEdgeTemplate
protected ProcessEdgeTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, ProcessTemplate parent, com.aquima.interactions.foundation.GUID sourceId, com.aquima.interactions.foundation.GUID targetId)
-
-
Method Details
-
getId
protected com.aquima.interactions.foundation.GUID getId() -
getSourceNode
This method may be used to request the template of the source node.- Returns:
- the template of the source node.
-
getSourceId
protected com.aquima.interactions.foundation.GUID getSourceId() -
getTargetNode
This method may be used to request the template of the target node.- Returns:
- the template of the target node.
-
getTargetId
protected com.aquima.interactions.foundation.GUID getTargetId() -
setCondition
This method may be used to specify the condition for the edge.- Parameters:
condition
- The condition expression for the edge.
-
getCondition
-
setExitState
This method may be used to specify the exit state of the source node the edge should connect to.- Parameters:
exitState
- the exit state of the source node the edge should connect to.
-
getExitState
-
setTimerEdge
public void setTimerEdge(boolean flag) This method may be used to specify the edge is a timer edge.- Parameters:
flag
- boolean indicating if the edge is a timer edge.
-
isTimerEdge
protected boolean isTimerEdge() -
setSequenceNr
public void setSequenceNr(long nr) This method may be used to specify the sequence number of the edge.- Parameters:
nr
- the sequence number of the edge.
-
getSequenceNr
protected long getSequenceNr() -
toDataSource
public com.aquima.interactions.process.ds.IProcessEdgeDS 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.
-
getReevaluationEvent
public com.aquima.interactions.process.impl.ReevaluationEvent getReevaluationEvent() -
setReevaluationEvent
public void setReevaluationEvent(com.aquima.interactions.process.impl.ReevaluationEvent reevaluationEvent)
-