Interface SelfTransition

All Known Implementing Classes:
AbstractSelfTransition, MethodSelfTransition

public interface SelfTransition
The interface implemented by classes which need to react on entering a certain states.
  • Method Details

    • execute

      boolean execute(StateContext stateContext, State state)
      Executes this SelfTransition.
      Parameters:
      stateContext - The context in which we are executing the transition
      state - The current state
      Returns:
      true if the execution succeeded, false otherwise.