org.discotools.fsm.event
Class FsmEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.discotools.fsm.event.FsmEvent
All Implemented Interfaces:
Serializable

public class FsmEvent
extends EventObject

See Also:
Serialized Form

Field Summary
static int ROLLBACK
           
static int SET
           
static int TRANSITION
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FsmEvent(Fsm source, int type, FsmAction action, Object... params)
           
FsmEvent(Fsm source, int type, Object... params)
           
 
Method Summary
 FsmAction getAction()
           
 String getActionLabel()
           
 String getActionName()
           
 FsmState getCurrentState()
           
 String getCurrentStateName()
           
 Object[] getParams()
           
 FsmState getPreviousState()
           
 String getPreviousStateName()
           
 Fsm getSource()
           
 FsmTransition getTransition()
           
 int getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SET

public static final int SET
See Also:
Constant Field Values

TRANSITION

public static final int TRANSITION
See Also:
Constant Field Values

ROLLBACK

public static final int ROLLBACK
See Also:
Constant Field Values
Constructor Detail

FsmEvent

public FsmEvent(Fsm source,
                int type,
                Object... params)

FsmEvent

public FsmEvent(Fsm source,
                int type,
                FsmAction action,
                Object... params)
Method Detail

getSource

public Fsm getSource()
Overrides:
getSource in class EventObject

getType

public int getType()

getParams

public Object[] getParams()

getCurrentState

public FsmState getCurrentState()

getCurrentStateName

public String getCurrentStateName()

getPreviousState

public FsmState getPreviousState()

getPreviousStateName

public String getPreviousStateName()

getTransition

public FsmTransition getTransition()

getActionName

public String getActionName()

getActionLabel

public String getActionLabel()

getAction

public FsmAction getAction()

toString

public String toString()
Overrides:
toString in class EventObject


Copyright © 2012 DISCO Foundation. All Rights Reserved.