Package org.springframework.statemachine
Class ObjectStateMachine<S,E> 
java.lang.Object
org.springframework.statemachine.support.LifecycleObjectSupport
org.springframework.statemachine.support.StateMachineObjectSupport<S,E>
 
org.springframework.statemachine.support.AbstractStateMachine<S,E>
 
org.springframework.statemachine.ObjectStateMachine<S,E> 
- Type Parameters:
- S- the type of state
- E- the type of event
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.BeanFactoryAware,- org.springframework.beans.factory.BeanNameAware,- org.springframework.beans.factory.DisposableBean,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.Lifecycle,- org.springframework.context.Phased,- org.springframework.context.SmartLifecycle,- ReactiveStateMachineAccess<S,,- E> - StateMachineAccess<S,,- E> - Region<S,,- E> - StateMachine<S,,- E> - StateMachineReactiveLifecycle
Specialisation of a 
StateMachine using objects
 as its State and event types.- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.statemachine.support.StateMachineObjectSupportStateMachineObjectSupport.StateMachineListenerRelay
- 
Field SummaryFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsConstructorDescriptionObjectStateMachine(Collection<State<S, E>> states, Collection<Transition<S, E>> transitions, State<S, E> initialState) Instantiates a new enum state machine.ObjectStateMachine(Collection<State<S, E>> states, Collection<Transition<S, E>> transitions, State<S, E> initialState, Transition<S, E> initialTransition, org.springframework.messaging.Message<E> initialEvent, ExtendedState extendedState, UUID uuid) Instantiates a new enum state machine.
- 
Method SummaryMethods inherited from class org.springframework.statemachine.support.AbstractStateMachineaddStateListener, addStateMachineInterceptor, addStateMachineMonitor, doDestroy, doPostStartReactively, doPreStartReactively, doPreStopReactively, executeTriggerlessTransitions, getExtendedState, getHistoryState, getId, getInitialState, getState, getStateMachineAccessor, getStateMachineExecutor, getStates, getTransitions, getUuid, hasStateMachineError, isComplete, notifyEventNotAccepted, onInit, removeStateListener, resetStateMachine, resetStateMachineReactively, sendEvent, sendEvent, sendEvent, sendEventCollect, sendEvents, setBeanFactory, setForwardedInitialEvent, setHistoryState, setId, setInitialEnabled, setParentMachine, setRelay, setStateMachineError, setTransitionConflightPolicy, toStringMethods inherited from class org.springframework.statemachine.support.StateMachineObjectSupportdoStart, getBeanName, getStateListener, getStateMachineEventPublisher, getStateMachineInterceptors, getStateMachineMonitor, notifyActionMonitor, notifyExtendedStateChanged, notifyStateChanged, notifyStateEntered, notifyStateExited, notifyStateMachineError, notifyStateMachineStarted, notifyStateMachineStopped, notifyTransition, notifyTransitionEnd, notifyTransitionMonitor, notifyTransitionStart, setBeanName, setContextEventsEnabled, setStateMachineEventPublisher, setStateMachineInterceptorsMethods inherited from class org.springframework.statemachine.support.LifecycleObjectSupportafterPropertiesSet, destroy, doPostStopReactively, getBeanFactory, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, start, startReactively, stop, stopReactivelyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecyclestopMethods inherited from interface org.springframework.statemachine.support.StateMachineReactiveLifecyclestartReactively, stopReactively
- 
Constructor Details- 
ObjectStateMachinepublic ObjectStateMachine(Collection<State<S, E>> states, Collection<Transition<S, E>> transitions, State<S, E> initialState) Instantiates a new enum state machine.- Parameters:
- states- the states
- transitions- the transitions
- initialState- the initial state
 
- 
ObjectStateMachinepublic ObjectStateMachine(Collection<State<S, E>> states, Collection<Transition<S, E>> transitions, State<S, E> initialState, Transition<S, E> initialTransition, org.springframework.messaging.Message<E> initialEvent, ExtendedState extendedState, UUID uuid) Instantiates a new enum state machine.- Parameters:
- states- the states
- transitions- the transitions
- initialState- the initial state
- initialTransition- the initial transition
- initialEvent- the initial event
- extendedState- the extended state
- uuid- the given uuid.
 
 
-