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

public class OnEventNotAcceptedEvent extends StateMachineEvent
Generic event representing that a state machine did not accept an event.
Author:
Janne Valkealahti
See Also:
  • Constructor Details

    • OnEventNotAcceptedEvent

      public OnEventNotAcceptedEvent(Object source, org.springframework.messaging.Message<?> event)
      Instantiates a new on event not accepted event.
      Parameters:
      source - the source
      event - the event
  • Method Details

    • getEvent

      public org.springframework.messaging.Message<?> getEvent()
      Gets the event.
      Returns:
      the event
    • toString

      public String toString()
      Overrides:
      toString in class StateMachineEvent