Class StateHandler<STATE extends State<STATE>,​CONTEXT>

    • Constructor Summary

      Constructors 
      Constructor Description
      StateHandler()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onEntry​(CONTEXT context)
      Gets called before the StateMachine changes from another State to this State.
      protected void onExit​(CONTEXT context)
      Gets called after the StateMachine changes from this State to another State.
      protected abstract STATE runAndGetNextState​(CONTEXT context)
      Runs the main logic of StateMachine State and returns the next State.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait