Interface TransitionAction<S,​E>


  • public interface TransitionAction<S,​E>
    • Method Detail

      • matches

        boolean matches​(S from,
                        S to,
                        E event)
        Test whether this TransitionAction is applicable to the transition criteria.
        Parameters:
        from - the state transitioned from.
        to - the state transitioned to.
        event - the event that caused the transition.
        Returns:
        true if this transition action is applicable to the transition criteria.