Class DefaultResultNodeDetails

java.lang.Object
com.aquima.interactions.flow.model.DefaultResultNodeDetails
All Implemented Interfaces:
INodeDetails, IResultNodeDetails, INodeDetailsWithDebugIdentifier, Serializable

public class DefaultResultNodeDetails extends Object implements IResultNodeDetails, INodeDetailsWithDebugIdentifier
Default details object that is used for result nodes.
Since:
7.0
Author:
F. van der Meer, O. Kerpershoek
See Also:
  • Constructor Details

    • DefaultResultNodeDetails

      protected DefaultResultNodeDetails(INodeDS nodeDS, NodeID id)
  • Method Details

    • getExitStates

      public ExitEvent[] getExitStates()
      Description copied from interface: IResultNodeDetails
      This method returns an array with the possible exit states of the result (page). Each exit state will be mapped to an edge in the calling flow to determine the next node.
      Specified by:
      getExitStates in interface IResultNodeDetails
      Returns:
      an array with the possible exit states of the action.
    • getResultId

      public String getResultId()
      Description copied from interface: IResultNodeDetails
      This method returns the ID of the result node. This node type usually represents a page. The flow will stop when a flow node of this type is encountered.
      Specified by:
      getResultId in interface IResultNodeDetails
      Returns:
      the ID of the result node.
    • getNodeId

      public NodeID getNodeId()
      Description copied from interface: INodeDetails
      This methode should return the unique ID that has been assigned to the node. The ID of a node is unique within the flow that contains the node.
      Specified by:
      getNodeId in interface INodeDetails
      Returns:
      String containing the unique ID of the node.
    • getDebugIdentifier

      public String getDebugIdentifier()
      Specified by:
      getDebugIdentifier in interface INodeDetailsWithDebugIdentifier
    • toString

      public String toString()
      Overrides:
      toString in class Object