Class ExitEvent

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

public class ExitEvent extends Object implements Serializable
The exit event class which can represent an edge in a node.
Since:
7.0
Author:
F. van der Meer, O. Kerpershoek
See Also:
  • Field Details

    • EXCEPTION

      public static final ExitEvent EXCEPTION
      The exception exit event.
    • DEFAULT

      public static final ExitEvent DEFAULT
      The default exit event.
    • EVENT

      public static final ExitEvent EVENT
      The event type exit event.
  • Constructor Details

    • ExitEvent

      protected ExitEvent(String label)
  • Method Details

    • forLabel

      public static ExitEvent forLabel(String label)
      Constructs an exit event for the specified label.
      Parameters:
      label - The label which is used to construct the exit event.
      Returns:
      An exit event.
    • getLabel

      public String getLabel()
      Returns the label for the specified exit event object.
      Returns:
      The text representation of the exit event.
    • isDefault

      public boolean isDefault()
      Returns true when the label represents a default edge.
      Returns:
      A boolean indicating this exit event represents a default edge.
    • isException

      public boolean isException()
      Returns true when the label represents an exception edge.
      Returns:
      A boolean indicating this exit event represents an exception edge.
    • isEvent

      public boolean isEvent()
      Returns true when the label represents an event edge.
      Returns:
      A boolean indicating this exit event represents an event edge.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object