com.ptc.windchill.upgrade.tool
Class PhaseCompleted.PhaseCanceled
java.lang.Object
com.ptc.windchill.upgrade.tool.PhaseCompleted.PhaseCanceled
- All Implemented Interfaces:
- Condition
- Enclosing class:
- PhaseCompleted
- public static class PhaseCompleted.PhaseCanceled
- extends Object
- implements Condition
An inner class used by UpgradeToolStateMachineDefinition to determine
which buttons should be enabled.
Fields inherited from interface com.ptc.windchill.upgrade.util.fsm.Condition |
ALWAYS |
Method Summary |
boolean |
evaluate(State state)
Checks if the stop button was selected when the migrators were being executed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhaseCompleted.PhaseCanceled
public PhaseCompleted.PhaseCanceled()
- Creates a new PhaseCanceled object.
evaluate
public final boolean evaluate(State state)
- Checks if the stop button was selected when the migrators were being executed.
If true is returned, the 'Close' button will be enabled and the 'Stop' button will be disabled.
If false is returned, the 'Stop' button will be enabled and the 'Close' button will be disabled.
- Specified by:
evaluate
in interface Condition
- Parameters:
state
- State
- Returns:
- ret boolean value