com.ptc.windchill.upgrade.util.fsm
Class StopStateDefinition.StopState
java.lang.Object
com.ptc.windchill.upgrade.util.fsm.State
com.ptc.windchill.upgrade.util.fsm.StopStateDefinition.StopState
- Enclosing class:
- StopStateDefinition
- public static final class StopStateDefinition.StopState
- extends State
An out-of-the-box state class used for all state machine stop states.
A StopState will remember the event that led to the transition to it.
This will allow clients of state machines to access information
about the state machine's termination.
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State |
|
Method Summary |
protected void |
activate(Event activating_event)
When invoked, stores the event that caused the transition to an activation of this stop state. |
Event |
getActivatingEvent()
The event that caused the transition to this stop state. |
String |
toString()
Provides a simple description. |
activatingEvent_
private Event activatingEvent_
StopStateDefinition.StopState
StopStateDefinition.StopState(StateMachine sm,
StateDefinition sd)
activate
protected void activate(Event activating_event)
- When invoked, stores the event that caused the transition to an activation of this stop state.
- Overrides:
activate
in class State
getActivatingEvent
public Event getActivatingEvent()
- The event that caused the transition to this stop state.
toString
public String toString()
- Provides a simple description.