Spring Web Flow

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

Method Summary
 TransitionDefinition getTransition(java.lang.String eventId)
          Returns the transition that matches the event with the provided id.
 TransitionDefinition[] getTransitions()
          Returns the available transitions out of this state.
 
Methods inherited from interface org.springframework.webflow.definition.StateDefinition
getId, getOwner, isViewState
 
Methods inherited from interface org.springframework.webflow.core.Annotated
getAttributes, getCaption, getDescription
 

Method Detail

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.

Spring Web Flow