com.ptc.windchill.upgrade.tool
Class AdvanceToNextStep.DetermineFirstStateForNextStep
java.lang.Object
com.ptc.windchill.upgrade.tool.AdvanceToNextStep.DetermineFirstStateForNextStep
- All Implemented Interfaces:
- Condition
- Enclosing class:
- AdvanceToNextStep
- public static class AdvanceToNextStep.DetermineFirstStateForNextStep
- extends Object
- implements Condition
Fields inherited from interface com.ptc.windchill.upgrade.util.fsm.Condition |
ALWAYS |
Method Summary |
boolean |
evaluate(State state)
A method required by all classes that implement Condition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
step_
UpgradeStep step_
AdvanceToNextStep.DetermineFirstStateForNextStep
public AdvanceToNextStep.DetermineFirstStateForNextStep(UpgradeStep step)
- Creates a new DetermineFirstStateForNextStep object.
- Parameters:
step
- UpgradeToolStateMachineDefinition sends the argument in.
evaluate
public final boolean evaluate(State state)
- A method required by all classes that implement Condition.
This method determines if the step sent in by UpgradeToolStateMachineDefinition
matches the step retrieved by the getAdvancdStep() method.
If step_ and next are equal, it will advance to the initial screen of that step.
- Specified by:
evaluate
in interface Condition
- Parameters:
state
- Verifies that it is an instance of AdvanceToNextStep
- Returns:
- true or false