## 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

    Methods in org.apache.mina.statemachine that return State
    Modifier and Type | Method and Description
    --- | ---
    `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()` Returns the parent `State`.
    `State` | StateMachine.`getState(String id)` Returns the `State` with the specified id.

    Methods in org.apache.mina.statemachine that return types with arguments of type State
    Modifier and Type | Method and Description
    --- | ---
    `Collection<State>` | StateMachine.`getStates()` Returns an unmodifiable `Collection` of all `State`s used by this `StateMachine`.

    Constructors in org.apache.mina.statemachine with parameters of type State
    Constructor and Description
    `State(String id, State parent)` Creates a new `State` with the specified id and parent.
    `StateMachine(State[] states, String startStateId)` Creates a new instance using the specified `State`s and start state.

    Constructor parameters in org.apache.mina.statemachine with type arguments of type State
    Constructor and Description
    `StateMachine(Collection<State> states, String startStateId)` Creates a new instance using the specified `State`s and start state.

  - ### Uses of State in org.apache.mina.statemachine.context

    Methods in org.apache.mina.statemachine.context that return State
    Modifier and Type | Method and Description
    --- | ---
    `State` | StateContext.`getCurrentState()` Returns the current `State`.
    `State` | AbstractStateContext.`getCurrentState()`

    Methods in org.apache.mina.statemachine.context with parameters of type State
    Modifier and Type | Method and Description
    --- | ---
    `void` | StateContext.`setCurrentState(State state)` Sets the current `State`.
    `void` | AbstractStateContext.`setCurrentState(State state)`

  - ### Uses of State in org.apache.mina.statemachine.transition

    Methods in org.apache.mina.statemachine.transition that return State
    Modifier and Type | Method and Description
    --- | ---
    `State` | Transition.`getNextState()` Returns the `State` which the `StateMachine` should move to if this `Transition` is taken and `Transition.execute(Event)` returns `true`.
    `State` | AbstractTransition.`getNextState()`

    Methods in org.apache.mina.statemachine.transition with parameters of type State
    Modifier and Type | Method and Description
    --- | ---
    `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)`

    Constructors in org.apache.mina.statemachine.transition with parameters of type State
    Constructor and Description
    `AbstractTransition(Object eventId, State nextState)` Creates a new instance with the specified `State` as next state and for the specified `Event` id.
    `MethodTransition(Object eventId, State nextState, Method method, Object target)` Creates a new instance with the specified `State` as next state and for the specified `Event` id.
    `MethodTransition(Object eventId, State nextState, Object target)` Creates a new instance with the specified `State` as next state and for the specified `Event` id.
    `MethodTransition(Object eventId, State nextState, String methodName, Object target)` Creates a new instance with the specified `State` as next state and for the specified `Event` id.
    `NoopTransition(Object eventId, State nextState)` Creates a new instance with the specified `State` as next state and for the specified `Event` id.

Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.