Class DefaultActionNodeDetails

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

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

    • DefaultActionNodeDetails

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

    • getActionId

      public String getActionId()
      Description copied from interface: IActionNodeDetails
      This method returns the name/ID of the action node.
      Specified by:
      getActionId in interface IActionNodeDetails
      Returns:
      the name/ID of the action node.
    • getExitStates

      public ExitEvent[] getExitStates()
      Description copied from interface: IActionNodeDetails
      This method returns an array with the possible exit states of the action. Each exit state will be mapped to an edge in the flow to determine the next node. The actual result of the action node (executed by the flow handler) will be used to choose the correct edge.
      Specified by:
      getExitStates in interface IActionNodeDetails
      Returns:
      an array with the possible exit states of the action.
    • 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