站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 common API Documentation 英文版文档

Uses of Class org.jboss.util.state.State (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档


Uses of Class
org.jboss.util.state.State

Packages that use State
org.jboss.util.state State machine classes. 
 

Uses of State in org.jboss.util.state
 

Subclasses of State in org.jboss.util.state
 class AcceptableState
          An abstract state to build dynamicily state acceptabile states.
 class StateAdapter
          A helper state for instances which need to be StateMachine.Acceptable and/or StateMachine.ChangeListeners.
 

Fields in org.jboss.util.state declared as State
 State StateMachine.ChangeEvent.previous
           
 State StateMachine.ChangeEvent.current
           
 State DefaultStateMachineModel.Entry.state
           
 

Methods in org.jboss.util.state that return State
 State StateMachine.getCurrentState()
          Returns the current state of the machine.
 State StateMachine.getInitialState()
          Returns the initial state of the machine.
 State StateMachine.ChangeEvent.getPreviousState()
          The previous state of the machine.
 State StateMachine.ChangeEvent.getCurrentState()
          The current state of the machine.
 State StateMachine.Model.getMappedState(State state)
          Returns the state object mapped for the given state value.
 State StateMachine.Model.getInitialState()
          Return the initial state which the state machine should start in.
 State StateMachine.Model.getCurrentState()
          Get the current state.
 State DefaultStateMachineModel.getMappedState(State state)
           
 State DefaultStateMachineModel.getInitialState()
           
 State DefaultStateMachineModel.getCurrentState()
           
 

Methods in org.jboss.util.state with parameters of type State
static void Test.dumpState(State state)
           
 boolean StateMachine.isAcceptable(State state)
          Check if the current state can accept a transition to the given state.
 void StateMachine.transition(State state)
          Attempt to transition into the give state if the current state can accept it.
protected  StateMachine.ChangeEvent StateMachine.changeState(State state)
          Change the state of the machine and send change events to all listeners and to the previous and new state objects if they implement StateMachine.ChangeListener.
 boolean StateMachine.isStateFinal(State state)
          Determine if the given state is final.
 boolean StateMachine.isCurrentState(State state)
          Check if the given state is the current state.
 boolean StateMachine.isInitialState(State state)
          Check if the given state is the initial state.
 boolean StateMachine.Acceptable.isAcceptable(State state)
          Check if the given state is an acceptable transition from this state.
 Set StateMachine.Model.addState(State state, Set acceptable)
          Add a non-final state.
 Set StateMachine.Model.addState(State state, State[] acceptable)
          Add a non-final state.
 Set StateMachine.Model.addState(State state)
          Add a final state.
 State StateMachine.Model.getMappedState(State state)
          Returns the state object mapped for the given state value.
 boolean StateMachine.Model.isMappedState(State state)
          Determins if there is a mapping for the given state object.
 void StateMachine.Model.setInitialState(State state)
          Set the initial state.
 void StateMachine.Model.setCurrentState(State state)
          Set the current state.
 boolean StateMachine.Model.containsState(State state)
          Check if a give state is contained in the model.
 Set StateMachine.Model.removeState(State state)
          Remove a state from the model.
 Set StateMachine.Model.acceptableStates(State state)
          Return an immutable set of the acceptable states for a given accepting state.
 boolean StateAdapter.isAcceptable(State state)
          Always returns false.
protected  DefaultStateMachineModel.Entry DefaultStateMachineModel.getEntry(State state)
          Get an entry from the map.
protected  DefaultStateMachineModel.Entry DefaultStateMachineModel.putEntry(State state, Set acceptable)
          Put a new entry into the map.
 boolean DefaultStateMachineModel.isMappedState(State state)
           
 State DefaultStateMachineModel.getMappedState(State state)
           
 Set DefaultStateMachineModel.addState(State state, Set acceptable)
           
 Set DefaultStateMachineModel.addState(State state, State[] acceptable)
           
 Set DefaultStateMachineModel.addState(State state, State acceptable)
           
 Set DefaultStateMachineModel.addState(State state)
           
 void DefaultStateMachineModel.setInitialState(State state)
           
 void DefaultStateMachineModel.setCurrentState(State state)
           
 boolean DefaultStateMachineModel.containsState(State state)
           
 Set DefaultStateMachineModel.removeState(State state)
           
protected  void DefaultStateMachineModel.updateAcceptableMapping(State state, boolean remove)
          Update acceptable mappings.
 Set DefaultStateMachineModel.acceptableStates(State state)
           
 

Constructors in org.jboss.util.state with parameters of type State
StateMachine.ChangeEvent(StateMachine source, State previous, State current)
           
DefaultStateMachineModel.Entry(State state, Set acceptableStates)
           
 



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.