Package com.aquima.interactions.flow
Class ExitState
java.lang.Object
com.aquima.interactions.flow.ExitState
- All Implemented Interfaces:
Serializable
This class defines the available exit node types of the flow engine.
- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExitState
This member defines the static CANCEL type.static final int
The CANCEL identifier number.static final ExitState
This member defines the static EXCEPTION type.static final int
The EXCEPTION identifier number.static final ExitState
This member defines the static OK type.static final int
The OK identifier number. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
OK_ID
public static final int OK_IDThe OK identifier number.- See Also:
-
CANCEL_ID
public static final int CANCEL_IDThe CANCEL identifier number.- See Also:
-
EXCEPTION_ID
public static final int EXCEPTION_IDThe EXCEPTION identifier number.- See Also:
-
OK
This member defines the static OK type. -
CANCEL
This member defines the static CANCEL type. -
EXCEPTION
This member defines the static EXCEPTION type.
-
-
Constructor Details
-
ExitState
-
-
Method Details
-
getId
public int getId()This method returns the unique ID of the node type.- Returns:
- the unique ID of the node type.
-
getName
This method returns the unique name of the node type.- Returns:
- the unique name of the node type.
-
equals
-
hashCode
public int hashCode() -
toString
-
valueOf
This method can be used to lookup a ExitState of an id.- Parameters:
id
- integer containing the id of the exit state that should be returned.- Returns:
- ExitState instance for the specified id.
-