com.ptc.windchill.upgrade.util.fsm
Class AbstractReaction
java.lang.Object
com.ptc.windchill.upgrade.util.fsm.Reaction
com.ptc.windchill.upgrade.util.fsm.AbstractReaction
- Direct Known Subclasses:
- AbstractState.NonExpressPhaseDone, AbstractState.NonExpressPhaseDone, AbstractStateWithThreadedWork.Cancel, AbstractStateWithThreadedWork.Cancel, ExampleApplication.Restart, Restart, SequencedReactions
- public abstract class AbstractReaction
- extends Reaction
A generic base Reaction class that allows for custom behavior on execution.
Nested classes inherited from class com.ptc.windchill.upgrade.util.fsm.Reaction |
|
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.Reaction |
NOOP |
Method Summary |
(package private) void |
execute(Event event)
A package internal method: invokes a subclass-defined method. |
protected abstract void |
onExecute(Event event)
Implement action behavior by overriding this method. |
String |
toString()
A simple default description. |
AbstractReaction
protected AbstractReaction()
execute
final void execute(Event event)
- A package internal method: invokes a subclass-defined method.
- Specified by:
execute
in class Reaction
onExecute
protected abstract void onExecute(Event event)
- Implement action behavior by overriding this method.
toString
public String toString()
- A simple default description.