src/main/java/org/jboss/util/state/State.java
/** Add a transition to the allowed transition map.
    * 
    * @param transition
    * @return this to allow chained addTransition calls
    */
Add a transition to the allowed transition map.

@param transition
@return this to allow chained addTransition calls
Add a transition to the allowed transition map . @param transition @return this to allow chained addTransition calls
public State addTransition(Transition transition)
   {
      allowedTransitions.put(transition.getName(), transition);
      return this;
   }
public State addTransition ( Transition transition ) { allowedTransitions . put ( transition . getName ( ) , transition ) ; return this ; }
Add a transition to the allowed transition map.
Add a transition to the allowed transition map .