Interface DestinationId
- All Superinterfaces:
ModelId
Represents a destination ID that can point to different types of workflow elements. DestinationId
is used in results to specify where a transition should lead, whether it's a state, a fork, or a
join.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the optional name of this destination ID.getValue()Gets the value of this destination ID.default booleanisForkId()Checks if this destination ID represents a fork.default booleanisJoinId()Checks if this destination ID represents a join.default booleanChecks if this destination ID represents a state.
-
Method Details
-
getValue
String getValue()Gets the value of this destination ID. -
getName
Gets the optional name of this destination ID.- Returns:
- an Optional containing the name if present
-
isJoinId
default boolean isJoinId()Checks if this destination ID represents a join.- Returns:
- true if this is a join ID, false otherwise
-
isStateId
default boolean isStateId()Checks if this destination ID represents a state.- Returns:
- true if this is a state ID, false otherwise
-
isForkId
default boolean isForkId()Checks if this destination ID represents a fork.- Returns:
- true if this is a fork ID, false otherwise
-