S
- the type of stateE
- the type of eventpublic interface StateMachineEventResult<S,E>
Modifier and Type | Interface and Description |
---|---|
static class |
StateMachineEventResult.DefaultStateMachineEventResult<S,E> |
static class |
StateMachineEventResult.ResultType
Enumeration of a result type indicating whether a region accepted, denied or
deferred an event.
|
Modifier and Type | Method and Description |
---|---|
static <S,E> StateMachineEventResult<S,E> |
from(Region<S,E> region,
org.springframework.messaging.Message<E> message,
StateMachineEventResult.ResultType resultType)
|
org.springframework.messaging.Message<E> |
getMessage()
Gets the message.
|
Region<S,E> |
getRegion()
Gets the region.
|
StateMachineEventResult.ResultType |
getResultType()
Gets the result type.
|
org.springframework.messaging.Message<E> getMessage()
StateMachineEventResult.ResultType getResultType()
static <S,E> StateMachineEventResult<S,E> from(Region<S,E> region, org.springframework.messaging.Message<E> message, StateMachineEventResult.ResultType resultType)
S
- the type of stateE
- the type of eventregion
- the regionmessage
- the messageresultType
- the result type