com.atomikos.finitestates
Class FSMTransitionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.atomikos.finitestates.FSMTransitionEvent
All Implemented Interfaces:
Serializable

public class FSMTransitionEvent
extends EventObject

Events signalling a transition of a FSM.

See Also:
Serialized Form

Field Summary
protected  Object from
           
protected  Object to
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FSMTransitionEvent(Object source, Object fromState, Object toState)
           
 
Method Summary
 Object fromState()
          The state that was left.
 Object toState()
          The state that was moved to.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

from

protected Object from

to

protected Object to
Constructor Detail

FSMTransitionEvent

public FSMTransitionEvent(Object source,
                          Object fromState,
                          Object toState)
Method Detail

fromState

public Object fromState()
The state that was left.


toState

public Object toState()
The state that was moved to.



Copyright © 2011. All Rights Reserved.