Uses of Class
org.springframework.batch.core.job.flow.support.StateTransition
Package
Description
Parsers for XML based configuration
Basic implementations of flow constructs
-
Uses of StateTransition in org.springframework.batch.core.configuration.xml
Modifier and TypeMethodDescriptionvoid
SimpleFlowFactoryBean.setStateTransitionComparator
(Comparator<StateTransition> stateTransitionComparator) void
SimpleFlowFactoryBean.setStateTransitions
(List<StateTransition> stateTransitions) The raw state transitions for the flow. -
Uses of StateTransition in org.springframework.batch.core.job.flow.support
Modifier and TypeMethodDescriptionstatic StateTransition
StateTransition.createEndStateTransition
(State state) Create a new end stateStateTransition
specification.static StateTransition
StateTransition.createEndStateTransition
(State state, String pattern) Create a new end stateStateTransition
specification.static StateTransition
StateTransition.createStateTransition
(State state, String next) Create a new stateStateTransition
specification with a wildcard pattern that matches all outcomes.static StateTransition
StateTransition.createStateTransition
(State state, String pattern, String next) Create a newStateTransition
specification from oneState
to another (by name).static StateTransition
StateTransition.switchOriginAndDestination
(StateTransition stateTransition, State state, String next) Convenience method to switch the origin and destination of a transition, creating a new instance.Modifier and TypeMethodDescriptionprotected Map<String,
Set<StateTransition>> SimpleFlow.getTransitionMap()
Modifier and TypeMethodDescriptionint
DefaultStateTransitionComparator.compare
(StateTransition arg0, StateTransition arg1) static StateTransition
StateTransition.switchOriginAndDestination
(StateTransition stateTransition, State state, String next) Convenience method to switch the origin and destination of a transition, creating a new instance.Modifier and TypeMethodDescriptionvoid
SimpleFlow.setStateTransitionComparator
(Comparator<StateTransition> stateTransitionComparator) void
SimpleFlow.setStateTransitions
(List<StateTransition> stateTransitions) Public setter for the stateTransitions.