public abstract class AbstractSelfTransition extends java.lang.Object implements SelfTransition
SelfTransition
implementation.构造器和说明 |
---|
AbstractSelfTransition()
Creates a new instance
|
限定符和类型 | 方法和说明 |
---|---|
protected abstract boolean |
doExecute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
boolean |
execute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
protected abstract boolean doExecute(StateContext stateContext, State state)
SelfTransition
.stateContext
- the context in which the execution should occurstate
- the current stateSelfTransition
has been executed
successfullypublic boolean execute(StateContext stateContext, State state)
SelfTransition
.execute
在接口中 SelfTransition
stateContext
- The context in which we are executing the transitionstate
- The current state