Class OnEventNotAcceptedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.statemachine.event.StateMachineEvent
org.springframework.statemachine.event.OnEventNotAcceptedEvent
- All Implemented Interfaces:
Serializable
Generic event representing that a state machine did not
accept an event.
- Author:
- Janne Valkealahti
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionOnEventNotAcceptedEvent
(Object source, org.springframework.messaging.Message<?> event) Instantiates a new on event not accepted event. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
OnEventNotAcceptedEvent
Instantiates a new on event not accepted event.- Parameters:
source
- the sourceevent
- the event
-
-
Method Details
-
getEvent
public org.springframework.messaging.Message<?> getEvent()Gets the event.- Returns:
- the event
-
toString
- Overrides:
toString
in classStateMachineEvent
-