public abstract class AbstractSelfTransition extends Object implements SelfTransition
SelfTransition
implementation.Constructor and Description |
---|
AbstractSelfTransition()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
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
in interface SelfTransition
stateContext
- The context in which we are executing the transitionstate
- The current stateCopyright © 2004–2021 Apache MINA Project. All rights reserved.