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.
|
acceptEvent, addStateListener, addStateMachineInterceptor, addStateMachineMonitor, doDestroy, doStart, doStop, getExtendedState, getHistoryState, getId, getInitialState, getState, getStateMachineAccessor, getStateMachineExecutor, getStates, getTransitions, getUuid, hasStateMachineError, isComplete, notifyEventNotAccepted, onInit, removeStateListener, resetStateMachine, sendEvent, sendEvent, setBeanFactory, setForwardedInitialEvent, setHistoryState, setId, setInitialEnabled, setParentMachine, setRelay, setStateMachineError, setTransitionConflightPolicy, stateChangedInRelay, toStringgetBeanName, getStateListener, getStateMachineEventPublisher, getStateMachineInterceptors, getStateMachineMonitor, notifyActionMonitor, notifyExtendedStateChanged, notifyStateChanged, notifyStateEntered, notifyStateExited, notifyStateMachineError, notifyStateMachineStarted, notifyStateMachineStopped, notifyTransition, notifyTransitionEnd, notifyTransitionMonitor, notifyTransitionStart, setBeanName, setContextEventsEnabled, setStateMachineEventPublisher, setStateMachineInterceptorsafterPropertiesSet, destroy, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskExecutor, setTaskScheduler, start, stop, stoppublic 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.