Interface StateTransitionManager

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  StateTransitionManager.Context
      The interface that can be used by the StateTransitionManager to communicate with the underlying system.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void close()
      Is called when the state transition manager should be closed.
      void onChange()
      Is called if the environment changed in a way that a state transition could be considered.
      void onTrigger()
      Is called when any previous observed environment changes shall be verified possibly triggering a state transition operation.
    • Method Detail

      • onChange

        void onChange()
        Is called if the environment changed in a way that a state transition could be considered.
      • onTrigger

        void onTrigger()
        Is called when any previous observed environment changes shall be verified possibly triggering a state transition operation.
      • close

        default void close()
        Is called when the state transition manager should be closed.