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 Summary
Modifier and TypeMethodDescriptionbooleanexecute(StateContext stateContext, State state) Executes thisSelfTransition.
-
Method Details
-
execute
Executes thisSelfTransition.- Parameters:
stateContext- The context in which we are executing the transitionstate- The current state- Returns:
trueif the execution succeeded,falseotherwise.
-