Uses of Class
org.apache.mina.statemachine.State
-
Packages that use State Package Description org.apache.mina.statemachine org.apache.mina.statemachine.context org.apache.mina.statemachine.transition -
-
Uses of State in org.apache.mina.statemachine
Fields in org.apache.mina.statemachine declared as State Modifier and Type Field Description private StateState. parentThe parent stateprivate StateStateMachine. startStateFields in org.apache.mina.statemachine with type parameters of type State Modifier and Type Field Description private java.util.Map<java.lang.String,State>StateMachine. statesMethods in org.apache.mina.statemachine that return State Modifier and Type Method Description (package private) StateState. addOnEntrySelfTransaction(SelfTransition onEntrySelfTransaction)Adds an entrySelfTransitionto thisState(package private) StateState. addOnExitSelfTransaction(SelfTransition onExitSelfTransaction)Adds an exitSelfTransitionto thisStateStateState. addTransition(Transition transition)Adds an outgoingTransitionto thisStatewith weight 0.StateState. addTransition(Transition transition, int weight)Adds an outgoingTransitionto thisStatewith the specified weight.(package private) static State[]StateMachineFactory. createStates(java.util.List<java.lang.reflect.Field> fields)StateState. getParent()StateStateMachine. getState(java.lang.String id)Returns theStatewith the specified id.Methods in org.apache.mina.statemachine that return types with arguments of type State Modifier and Type Method Description private java.util.Deque<State>StateMachine. getCallStack(StateContext context)java.util.Collection<State>StateMachine. getStates()Methods in org.apache.mina.statemachine with parameters of type State Modifier and Type Method Description (package private) voidStateMachine. executeOnEntries(StateContext context, State state)(package private) voidStateMachine. executeOnExits(StateContext context, State state)private voidStateMachine. handle(State state, Event event)private voidStateMachine. setCurrentState(StateContext context, State newState)Method parameters in org.apache.mina.statemachine with type arguments of type State Modifier and Type Method Description private static voidStateMachineFactory. setupSelfTransitions(java.lang.reflect.Method m, java.lang.Class<? extends java.lang.annotation.Annotation> onEntrySelfTransitionAnnotation, java.lang.Class<? extends java.lang.annotation.Annotation> onExitSelfTransitionAnnotation, java.util.Map<java.lang.String,State> states, java.lang.Object handler)private static voidStateMachineFactory. setupTransitions(java.lang.Class<? extends java.lang.annotation.Annotation> transitionAnnotation, java.lang.Class<? extends java.lang.annotation.Annotation> transitionsAnnotation, java.lang.Class<? extends java.lang.annotation.Annotation> onEntrySelfTransitionAnnotation, java.lang.Class<? extends java.lang.annotation.Annotation> onExitSelfTransitionAnnotation, java.util.Map<java.lang.String,State> states, java.lang.Object handler)private static voidStateMachineFactory. setupTransitions(java.lang.Class<? extends java.lang.annotation.Annotation> transitionAnnotation, java.lang.Class<? extends java.lang.annotation.Annotation> transitionsAnnotation, java.lang.Class<? extends java.lang.annotation.Annotation> onEntrySelfTransitionAnnotation, java.lang.Class<? extends java.lang.annotation.Annotation> onExitSelfTransitionAnnotation, java.util.Map<java.lang.String,State> states, java.util.List<java.lang.Object> handlers)Constructors in org.apache.mina.statemachine with parameters of type State Constructor Description State(java.lang.String id, State parent)Creates a newStatewith the specified id and parent.StateMachine(State[] states, java.lang.String startStateId)Creates a new instance using the specifiedStates and start state.Constructor parameters in org.apache.mina.statemachine with type arguments of type State Constructor Description StateMachine(java.util.Collection<State> states, java.lang.String startStateId)Creates a new instance using the specifiedStates and start state. -
Uses of State in org.apache.mina.statemachine.context
Fields in org.apache.mina.statemachine.context declared as State Modifier and Type Field Description private StateAbstractStateContext. currentStateMethods in org.apache.mina.statemachine.context that return State Modifier and Type Method Description StateAbstractStateContext. getCurrentState()StateStateContext. getCurrentState()Methods in org.apache.mina.statemachine.context with parameters of type State Modifier and Type Method Description voidAbstractStateContext. setCurrentState(State state)Sets the currentState.voidStateContext. setCurrentState(State state)Sets the currentState. -
Uses of State in org.apache.mina.statemachine.transition
Fields in org.apache.mina.statemachine.transition declared as State Modifier and Type Field Description private StateAbstractTransition. nextStateThe next state, if anyMethods in org.apache.mina.statemachine.transition that return State Modifier and Type Method Description StateAbstractTransition. getNextState()StateTransition. getNextState()Methods in org.apache.mina.statemachine.transition with parameters of type State Modifier and Type Method Description protected abstract booleanAbstractSelfTransition. doExecute(StateContext stateContext, State state)Executes thisSelfTransition.booleanMethodSelfTransition. doExecute(StateContext stateContext, State state)Executes thisSelfTransition.booleanAbstractSelfTransition. execute(StateContext stateContext, State state)Executes thisSelfTransition.booleanSelfTransition. execute(StateContext stateContext, State state)Executes thisSelfTransition.Constructors in org.apache.mina.statemachine.transition with parameters of type State Constructor Description AbstractTransition(java.lang.Object eventId, State nextState)AbstractTransition(State nextState)MethodTransition(java.lang.Object eventId, State nextState, java.lang.Object target)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.String methodName, java.lang.Object target)NoopTransition(java.lang.Object eventId, State nextState)
-