S - the type of stateE - the type of eventpublic interface StateMachineAccess<S,E> extends ReactiveStateMachineAccess<S,E>
StateMachine internals.| Modifier and Type | Method and Description |
|---|---|
void |
addStateMachineInterceptor(StateMachineInterceptor<S,E> interceptor)
Adds the state machine interceptor.
|
void |
addStateMachineMonitor(StateMachineMonitor<S,E> monitor)
Adds the state machine monitor.
|
void |
resetStateMachine(StateMachineContext<S,E> stateMachineContext)
Deprecated.
|
void |
setForwardedInitialEvent(org.springframework.messaging.Message<E> message)
Set initial forwarded event which is used for passing in
event and its headers for actions executed when sub state
is entered via initial transition.
|
void |
setInitialEnabled(boolean enabled)
Sets if initial state is enabled when a state machine is
using sub states.
|
void |
setParentMachine(StateMachine<S,E> stateMachine)
Sets the parent machine.
|
void |
setRelay(StateMachine<S,E> stateMachine)
Sets the relay state machine.
|
resetStateMachineReactivelyvoid setRelay(StateMachine<S,E> stateMachine)
stateMachine - the state machine@Deprecated void resetStateMachine(StateMachineContext<S,E> stateMachineContext)
stateMachineContext - the state machine contextReactiveStateMachineAccess.resetStateMachineReactively(StateMachineContext)void addStateMachineInterceptor(StateMachineInterceptor<S,E> interceptor)
interceptor - the interceptorvoid addStateMachineMonitor(StateMachineMonitor<S,E> monitor)
monitor - the monitorvoid setInitialEnabled(boolean enabled)
enabled - the new initial enabledvoid setForwardedInitialEvent(org.springframework.messaging.Message<E> message)
message - the forwarded messagevoid setParentMachine(StateMachine<S,E> stateMachine)
stateMachine - the state machine