程序包 | 说明 |
---|---|
org.apache.mina.statemachine | |
org.apache.mina.statemachine.context | |
org.apache.mina.statemachine.transition |
限定符和类型 | 方法和说明 |
---|---|
State |
State.addTransition(Transition transition)
Adds an outgoing
Transition to this State with weight 0. |
State |
State.addTransition(Transition transition,
int weight)
Adds an outgoing
Transition to this State with the
specified weight. |
State |
State.getParent() |
State |
StateMachine.getState(java.lang.String id)
Returns the
State with the specified id. |
限定符和类型 | 方法和说明 |
---|---|
java.util.Collection<State> |
StateMachine.getStates() |
构造器和说明 |
---|
State(java.lang.String id,
State parent)
Creates a new
State with the specified id and parent. |
StateMachine(State[] states,
java.lang.String startStateId)
Creates a new instance using the specified
State s and start
state. |
构造器和说明 |
---|
StateMachine(java.util.Collection<State> states,
java.lang.String startStateId)
Creates a new instance using the specified
State s and start
state. |
限定符和类型 | 方法和说明 |
---|---|
State |
StateContext.getCurrentState() |
State |
AbstractStateContext.getCurrentState() |
限定符和类型 | 方法和说明 |
---|---|
void |
StateContext.setCurrentState(State state)
Sets the current
State . |
void |
AbstractStateContext.setCurrentState(State state) |
限定符和类型 | 方法和说明 |
---|---|
State |
Transition.getNextState() |
State |
AbstractTransition.getNextState() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
MethodSelfTransition.doExecute(StateContext stateContext,
State state) |
protected abstract boolean |
AbstractSelfTransition.doExecute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
boolean |
SelfTransition.execute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
boolean |
AbstractSelfTransition.execute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
构造器和说明 |
---|
AbstractTransition(java.lang.Object eventId,
State nextState)
|
MethodTransition(java.lang.Object eventId,
State nextState,
java.lang.reflect.Method method,
java.lang.Object target)
|
MethodTransition(java.lang.Object eventId,
State nextState,
java.lang.Object target)
|
MethodTransition(java.lang.Object eventId,
State nextState,
java.lang.String methodName,
java.lang.Object target)
|
NoopTransition(java.lang.Object eventId,
State nextState)
|