public interface StateMachineEventPublisher
Modifier and Type | Method and Description |
---|---|
void |
publishEventNotAccepted(java.lang.Object source,
org.springframework.messaging.Message<?> event)
Publish event not accepted event.
|
void |
publishExtendedStateChanged(java.lang.Object source,
java.lang.Object key,
java.lang.Object value)
Publish extended state changed.
|
void |
publishStateChanged(java.lang.Object source,
State<?,?> sourceState,
State<?,?> targetState)
Publish a state changed event.
|
void |
publishStateEntered(java.lang.Object source,
State<?,?> state)
Publish a state entered event.
|
void |
publishStateExited(java.lang.Object source,
State<?,?> state)
Publish a state exited event.
|
void |
publishStateMachineError(java.lang.Object source,
StateMachine<?,?> stateMachine,
java.lang.Exception exception)
Publish a state machine error.
|
void |
publishStateMachineStart(java.lang.Object source,
StateMachine<?,?> stateMachine)
Publish a statemachine start event.
|
void |
publishStateMachineStop(java.lang.Object source,
StateMachine<?,?> stateMachine)
Publish a statemachine stop event.
|
void |
publishTransition(java.lang.Object source,
Transition<?,?> transition)
Publish a transition event.
|
void |
publishTransitionEnd(java.lang.Object source,
Transition<?,?> transition)
Publish a transition end event.
|
void |
publishTransitionStart(java.lang.Object source,
Transition<?,?> transition)
Publish a transition start event.
|
void publishStateChanged(java.lang.Object source, State<?,?> sourceState, State<?,?> targetState)
source
- the component generated this eventsourceState
- the source statetargetState
- the target statevoid publishStateEntered(java.lang.Object source, State<?,?> state)
source
- the sourcestate
- the statevoid publishStateExited(java.lang.Object source, State<?,?> state)
source
- the sourcestate
- the statevoid publishEventNotAccepted(java.lang.Object source, org.springframework.messaging.Message<?> event)
source
- the sourceevent
- the eventvoid publishTransitionStart(java.lang.Object source, Transition<?,?> transition)
source
- the sourcetransition
- the transitionvoid publishTransitionEnd(java.lang.Object source, Transition<?,?> transition)
source
- the sourcetransition
- the transitionvoid publishTransition(java.lang.Object source, Transition<?,?> transition)
source
- the sourcetransition
- the transitionvoid publishStateMachineStart(java.lang.Object source, StateMachine<?,?> stateMachine)
source
- the sourcestateMachine
- the statemachinevoid publishStateMachineStop(java.lang.Object source, StateMachine<?,?> stateMachine)
source
- the sourcestateMachine
- the statemachinevoid publishStateMachineError(java.lang.Object source, StateMachine<?,?> stateMachine, java.lang.Exception exception)
source
- the sourcestateMachine
- the state machineexception
- the exceptionvoid publishExtendedStateChanged(java.lang.Object source, java.lang.Object key, java.lang.Object value)
source
- the sourcekey
- the keyvalue
- the value