Class XmlProcessNodeDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.process.ds.xml.r12.parsing.XmlProcessNodeDS
All Implemented Interfaces:
IReportingDS, IProcessNodeDS

public class XmlProcessNodeDS extends ReportingDS implements IProcessNodeDS
Xml datasource implementation.
Since:
7.2
Author:
Jon van Leuven
  • Field Details

    • UNSUPPORTED_PROCESS_EVENT_NODE

      public static final ErrorCode UNSUPPORTED_PROCESS_EVENT_NODE
  • Constructor Details

  • Method Details

    • getCondition

      public String getCondition()
      Description copied from interface: IProcessNodeDS
      This method returns the condition that should be met in order for the task to be scheduled. The condition is only relevant when the task is used as an ad-hoc task in a process.
      Specified by:
      getCondition in interface IProcessNodeDS
      Returns:
      The condition that should be met in order for the task to be scheduled.
    • getMessageEventMapping

      public IIntermediateMessageEventMappingDS getMessageEventMapping()
      Description copied from interface: IProcessNodeDS
      This method returns the message event this node should wait for. The name of the event is only relevant for event nodes.
      Specified by:
      getMessageEventMapping in interface IProcessNodeDS
      Returns:
      The mapping for the message event.
    • getExitState

      public ProcessExit getExitState()
      Description copied from interface: IProcessNodeDS
      This method returns the name of the exit state of this node. The exit state is only relevant for end nodes.
      Specified by:
      getExitState in interface IProcessNodeDS
      Returns:
      the name of the exit state of this node.
    • getProcessName

      public String getProcessName()
      Description copied from interface: IProcessNodeDS
      This method returns the name of the (sub) process this node represents. The process name is only relevant for process nodes.
      Specified by:
      getProcessName in interface IProcessNodeDS
      Returns:
      the name of the (sub) process this node represents.
    • getRequiredCondition

      public String getRequiredCondition()
      Description copied from interface: IProcessNodeDS
      This method returns a boolean expression indicating if the ad-hoc task or process should be removed as soon as the condition no longer evaluates to true. An ad-hoc process that indicates to be volatile may only contain ad-hoc tasks, and not a normal flow.
      Specified by:
      getRequiredCondition in interface IProcessNodeDS
      Returns:
      Boolean expression indicating if the ad-hoc task should be removed once the condition is no longer true.
    • getTaskName

      public String getTaskName()
      Description copied from interface: IProcessNodeDS
      This method returns the name of the task this node represents. The task name is only relevant for task nodes.
      Specified by:
      getTaskName in interface IProcessNodeDS
      Returns:
      the name of the task this node represents.
    • getTimerExpression

      public String getTimerExpression()
      Description copied from interface: IProcessNodeDS
      This method returns the expression that should be evaluated to determine the wait time. The timer expression is only relevant for wait nodes.
      Specified by:
      getTimerExpression in interface IProcessNodeDS
      Returns:
      the expression that should be evaluated to determine the wait time.
    • getReevaluationEvent

      public ReevaluationEvent getReevaluationEvent()
      Description copied from interface: IProcessNodeDS
      This method returns the reevaluation event, which determines when a timer expression needs to be updated.
      Specified by:
      getReevaluationEvent in interface IProcessNodeDS
      Returns:
      the reevaluation event
    • getType

      public ProcessNodeType getType()
      Description copied from interface: IProcessNodeDS
      This method returns the type of the node.
      Specified by:
      getType in interface IProcessNodeDS
      Returns:
      The type of the node.
    • isAdHocTask

      public boolean isAdHocTask()
      Description copied from interface: IProcessNodeDS
      This method returns a boolean indicating if the node is an ad-hoc task or process. Only nodes of the type task, process, event, timer and condition may return true here. Nodes that indicate to be ad-hoc may not be used in the main process flow.
      Specified by:
      isAdHocTask in interface IProcessNodeDS
      Returns:
      boolean indicating if the node is an ad-hoc task or process.
    • isRepeatable

      public boolean isRepeatable()
      Description copied from interface: IProcessNodeDS
      This method returns a boolean indicating if the task may be repeated once it has been completed. Note: Only ad-hoc nodes can be repeatable, except for an ad hoc condition nodes.
      Specified by:
      isRepeatable in interface IProcessNodeDS
      Returns:
      a boolean indicating if the task may be repeated once it has been completed.
    • locksCase

      public boolean locksCase()
      Description copied from interface: IProcessNodeDS
      This method returns if the case should be locked when the task is started. The locksCase flag is only relevant for task nodes.
      Specified by:
      locksCase in interface IProcessNodeDS
      Returns:
      the lock case flag of the task this node represents.
    • getId

      public GUID getId()
      Description copied from interface: IProcessNodeDS
      This method should return the unique id of the node.
      Specified by:
      getId in interface IProcessNodeDS
      Returns:
      String containing the id of the node.