Interface State<E>

    • Method Detail

      • getName

        String getName()
        Returns:
        The name of the state.
      • getFSM

        FSM<E> getFSM()
        Returns:
        The FSM that contains the state.
      • checkStartingState

        default void checkStartingState()
                                 throws CancelFSMException
        Checks whether the starting state of the fsm is this state. In this case, the fsm is notified about the starting of the FSM.
        Throws:
        CancelFSMException - @throws CancelFSMException If the interaction is cancelled by a handler during the starting step.
      • uninstall

        default void uninstall()
        Uninstall (ie flushes) the state. Useful to clear data. The state must not be used after that.