org.pietschy.wizard.models
Interface Condition

All Known Implementing Classes:
AbstractPropertiesFileEditorStep, AndCondition, ConditionalTask, DeployPropertiesFileEditorStep, DeployPropertiesGMEFileEditorStep, DeployPropertiesWorkflowFileEditorStep, IntroduceServicePropertiesFileEditorStep, ServicePropertiesFileEditorStep, ServicePropertiesWorkflowFileEditorStep

public interface Condition

An interface that is used by DynamicModel and MultiPathModel to determine if a wizard should display a particular step or group of steps.

Version:
$Revision: 1.1 $
Author:
andrewp
See Also:
DynamicModel.add(org.pietschy.wizard.WizardStep, Condition), BranchingPath.addBranch(Path, Condition)

Method Summary
 boolean evaluate(WizardModel model)
          Called to determine when the path being added using BranchingPath.addBranch(org.pietschy.wizard.models.Path, org.pietschy.wizard.models.Condition) should be traversed.
 

Method Detail

evaluate

boolean evaluate(WizardModel model)
Called to determine when the path being added using BranchingPath.addBranch(org.pietschy.wizard.models.Path, org.pietschy.wizard.models.Condition) should be traversed. The selector is passed the current WizardModel to assist with the decision.

Parameters:
model - the WizardModel the condition should use.
Returns:
true if the .