Class ProcessEdgeTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.process.ProcessEdgeTemplate

public class ProcessEdgeTemplate extends AbstractReportingTemplate
Template class that may be used to provide the information needed during initialization.
Since:
7.1
Author:
O. Kerpershoek
  • 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

      public ProcessNodeTemplate 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

      public ProcessNodeTemplate 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

      public void setCondition(String condition)
      This method may be used to specify the condition for the edge.
      Parameters:
      condition - The condition expression for the edge.
    • getCondition

      protected String getCondition()
    • setExitState

      public void setExitState(String exitState)
      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

      protected String 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)