Interface InvalidTransitionEvent


  • public interface InvalidTransitionEvent
    An event raised when a client event would trigger an invalid state transition on the trade model. This can happen if the triggering event is not valid for current state of the trade model, or the trade model state requires that the event originates from the server, not the client.
    • Method Detail

      • getStateName

        java.lang.String getStateName()
        Gets the state that the trade was in when the invalid event was received.
        Returns:
        The name of the Trade state.
      • getMessage

        java.lang.String getMessage()
        Gets the error message relating to the invalid state transition attempt.
        Returns:
        The error message.