public class DecisionState extends TransitionableState
true in the context of the current request.
A decision state is a convenient, simple way to encapsulate reusable state transition logic in one place.
CAPTION_PROPERTY, DESCRIPTION_PROPERTY| Constructor and Description |
|---|
DecisionState(Flow flow,
String stateId)
Creates a new decision state.
|
exit, getExitActionList, getRequiredTransition, getTransition, getTransitions, getTransitionSet, handleEvententer, equals, getEntryActionList, getExceptionHandlerSet, getFlow, getId, getOwner, handleException, hashCode, isStartState, isViewState, toStringgetAttributes, getCaption, getDescription, setCaption, setDescriptiongetId, getOwner, isViewStategetAttributes, getCaption, getDescriptionpublic DecisionState(Flow flow, String stateId) throws IllegalArgumentException
flow - the owning flowstateId - the state identifier (must be unique to the flow)IllegalArgumentException - when this state cannot be added to given flow, e.g. because the id is not unique