S
- the type of stateE
- the type of eventpublic interface StateMachineAccess<S,E>
StateMachine
internals.Modifier and Type | Method and Description |
---|---|
void |
addStateMachineInterceptor(StateMachineInterceptor<S,E> interceptor)
Adds the state machine interceptor.
|
void |
resetStateMachine(StateMachineContext<S,E> stateMachineContext)
Reset state machine.
|
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 |
setRelay(StateMachine<S,E> stateMachine)
Sets the relay state machine.
|
void setRelay(StateMachine<S,E> stateMachine)
stateMachine
- the state machinevoid resetStateMachine(StateMachineContext<S,E> stateMachineContext)
stateMachineContext
- the state machine contextvoid addStateMachineInterceptor(StateMachineInterceptor<S,E> interceptor)
interceptor
- the interceptorvoid setInitialEnabled(boolean enabled)
enabled
- the new initial enabledvoid setForwardedInitialEvent(org.springframework.messaging.Message<E> message)
message
- the forwarded message