org.springframework.webflow.definition
Interface TransitionableStateDefinition
- All Superinterfaces:
- Annotated, StateDefinition
- All Known Implementing Classes:
- ActionState, DecisionState, SubflowState, TransitionableState, ViewState
public interface TransitionableStateDefinition
- extends StateDefinition
A state that can transition to another state.
- Author:
- Keith Donald, Erwin Vervaet
getTransitions
TransitionDefinition[] getTransitions()
- Returns the available transitions out of this state.
- Returns:
- the available state transitions
getTransition
TransitionDefinition getTransition(java.lang.String eventId)
- Returns the transition that matches the event with the provided id.
- Parameters:
eventId
- the event id
- Returns:
- the transition that matches, or null if no match is found.