S
- the type of stateE
- the type of eventpublic class ObjectStateMachine<S,E> extends AbstractStateMachine<S,E>
StateMachine
using objects
as its State
and event types.StateMachineObjectSupport.StateMachineListenerRelay
Constructor and Description |
---|
ObjectStateMachine(java.util.Collection<State<S,E>> states,
java.util.Collection<Transition<S,E>> transitions,
State<S,E> initialState)
Instantiates a new enum state machine.
|
ObjectStateMachine(java.util.Collection<State<S,E>> states,
java.util.Collection<Transition<S,E>> transitions,
State<S,E> initialState,
Transition<S,E> initialTransition,
org.springframework.messaging.Message<E> initialEvent,
ExtendedState extendedState,
java.util.UUID uuid)
Instantiates a new enum state machine.
|
addStateListener, 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, toString
doStart, getBeanName, getStateListener, getStateMachineEventPublisher, getStateMachineInterceptors, getStateMachineMonitor, notifyActionMonitor, notifyExtendedStateChanged, notifyStateChanged, notifyStateEntered, notifyStateExited, notifyStateMachineError, notifyStateMachineStarted, notifyStateMachineStopped, notifyTransition, notifyTransitionEnd, notifyTransitionMonitor, notifyTransitionStart, setBeanName, setContextEventsEnabled, setStateMachineEventPublisher, setStateMachineInterceptors
afterPropertiesSet, destroy, doPostStopReactively, getBeanFactory, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, start, startReactively, stop, stopReactively
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
startReactively, stopReactively
public ObjectStateMachine(java.util.Collection<State<S,E>> states, java.util.Collection<Transition<S,E>> transitions, State<S,E> initialState)
states
- the statestransitions
- the transitionsinitialState
- the initial statepublic ObjectStateMachine(java.util.Collection<State<S,E>> states, java.util.Collection<Transition<S,E>> transitions, State<S,E> initialState, Transition<S,E> initialTransition, org.springframework.messaging.Message<E> initialEvent, ExtendedState extendedState, java.util.UUID uuid)
states
- the statestransitions
- the transitionsinitialState
- the initial stateinitialTransition
- the initial transitioninitialEvent
- the initial eventextendedState
- the extended stateuuid
- the given uuid.