org.discotools.fsm.event
Class FsmEvent
java.lang.Object
java.util.EventObject
org.discotools.fsm.event.FsmEvent
- All Implemented Interfaces:
- Serializable
public class FsmEvent
- extends EventObject
- See Also:
- Serialized Form
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
FsmEvent
public FsmEvent(Fsm source,
int type,
Object... params)
FsmEvent
public FsmEvent(Fsm source,
int type,
FsmAction action,
Object... params)
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.