Interface State<T>


  • public interface State<T>
    Author:
    Baptiste Mesta
    • Method Detail

      • getId

        int getId()
      • getName

        java.lang.String getName()
      • isInterrupting

        boolean isInterrupting()
        Checks whether the state can be interrupted.
        Returns:
        true if the state can be interrupted; false otherwise
      • isStable

        boolean isStable()
        Returns:
        true if the state is stable a final state is stable
      • isTerminal

        boolean isTerminal()
        Checks whether the state is a terminal one.
        Returns:
        true is the state is a terminal one; false otherwise