Class ActionNodeType

java.lang.Object
com.aquima.interactions.flow.ActionNodeType
All Implemented Interfaces:
Serializable

public class ActionNodeType extends Object implements Serializable
This class defines the available action node of the flow engine.
See Also:
  • Field Details

    • SERVICE_ID

      public static final int SERVICE_ID
      This member defines the static SERVICE type id.
      See Also:
    • FUNCTION_ID

      public static final int FUNCTION_ID
      This member defines the static FUNCTION type id.
      See Also:
    • SERVICE

      public static final ActionNodeType SERVICE
      This member defines the static END type.
    • FUNCTION

      public static final ActionNodeType FUNCTION
      This member defines the static CONDITION type.
  • Constructor Details

    • ActionNodeType

      protected ActionNodeType(int id, String name)
  • Method Details

    • getId

      public int getId()
      This method returns the unique ID of the action node type.
      Returns:
      the unique ID of the action node type.
    • getName

      public String getName()
      This method returns the unique name of the action node type.
      Returns:
      the unique name of the action node type.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • valueOf

      public static ActionNodeType valueOf(int id)
      This method can be used to lookup a ActionNodeType of an id.
      Parameters:
      id - integer containing the id of the action node type that should be returned.
      Returns:
      ActionNodeType instance for the specified id.