public class MethodSelfTransition extends AbstractSelfTransition
SelfTransitionwhich invokes a
Methodcan have zero or any number of StateContext and State regarding order
Normally you wouldn't create instances of this class directly but rather use
SelfTransition annotation to define the methods which should be
used as transitions in your state machine and then let
StateMachineFactory create a
StateMachine for you.
|Constructor and Description|
Creates a new MethodSelfTransition instance
Creates a new instance
|Modifier and Type||Method and Description|
method- The method to invoke
target- The target object
public boolean doExecute(StateContext stateContext, State state)
Copyright © 2004–2018 Apache MINA Project. All rights reserved.