Package com.aquima.interactions.flow
Class ExitEvent
java.lang.Object
com.aquima.interactions.flow.ExitEvent
- All Implemented Interfaces:
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static ExitEvent
Constructs an exit event for the specified label.getLabel()
Returns the label for the specified exit event object.int
hashCode()
boolean
Returns true when the label represents a default edge.boolean
isEvent()
Returns true when the label represents an event edge.boolean
Returns true when the label represents an exception edge.toString()
-
Field Details
-
EXCEPTION
The exception exit event. -
DEFAULT
The default exit event. -
EVENT
The event type exit event.
-
-
Constructor Details
-
ExitEvent
-
-
Method Details
-
forLabel
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
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
-
hashCode
public int hashCode() -
toString
-