|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.upgrade.util.fsm.Event
A StateMachine event which bears an EventType and optionally an event object.
Clients do not directly instantiate Events. This is done via
StateMachine.dispatchEvent
methods.
StateMachine.dispatchEvent(EventType)
,
StateMachine.dispatchEvent(EventType,java.lang.Object)
Field Summary | |
private Object |
eventObject_
|
private EventType |
eventType_
|
private State |
sourceState_
|
Constructor Summary | |
(package private) |
Event(EventType event_type,
State source_state,
Object event_object)
|
Method Summary | |
Object |
getEventObject()
The object that may have been provided when the event was dispatched on the StateMachine. |
EventType |
getEventType()
The Event's type |
State |
getSourceState()
The StateMachine State from in which the event was dispatched. |
String |
toString()
A simple description of the event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final EventType eventType_
private final State sourceState_
private final Object eventObject_
Constructor Detail |
Event(EventType event_type, State source_state, Object event_object)
Method Detail |
public final EventType getEventType()
public final State getSourceState()
public final Object getEventObject()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |