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 statetrue if the SelfTransition has been executed
successfullypublic boolean execute(StateContext stateContext, State state)
SelfTransition.execute in interface SelfTransitionstateContext - The context in which we are executing the transitionstate - The current statetrue if the execution succeeded, false otherwise.Copyright © 2004–2023 Apache MINA Project. All rights reserved.