Interface StateDefinition

All Superinterfaces:
Annotated
All Known Subinterfaces:
TransitionableStateDefinition
All Known Implementing Classes:
ActionState, DecisionState, EndState, State, SubflowState, TransitionableState, ViewState

public interface StateDefinition extends Annotated
A step within a flow definition where behavior is executed.

States have identifiers that are local to their containing flow definitions. They may also be annotated with attributes.

Author:
Keith Donald, Erwin Vervaet
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns this state's identifier, locally unique to is containing flow definition.
    Returns the flow definition this state belongs to.
    boolean
    Returns true if this state is a view state.

    Methods inherited from interface org.springframework.webflow.core.Annotated

    getAttributes, getCaption, getDescription
  • Method Details

    • getOwner

      FlowDefinition getOwner()
      Returns the flow definition this state belongs to.
      Returns:
      the owning flow definition
    • getId

      String getId()
      Returns this state's identifier, locally unique to is containing flow definition.
      Returns:
      the state identifier
    • isViewState

      boolean isViewState()
      Returns true if this state is a view state.
      Returns:
      true if a view state, false otherwise