net.sf.doolin.gui.wizard.rule.condition
Class FixedWizardRule

java.lang.Object
  extended by net.sf.doolin.gui.wizard.rule.condition.AbstractWizardRule
      extended by net.sf.doolin.gui.wizard.rule.condition.FixedWizardRule
All Implemented Interfaces:
WizardRule

public class FixedWizardRule
extends AbstractWizardRule

This rule is always evaluated to true. Therefore, it can be used by views that can always navigate to the next view.

Author:
Damien Coraboeuf

Field Summary
 
Fields inherited from interface net.sf.doolin.gui.wizard.rule.condition.WizardRule
FINISH
 
Constructor Summary
FixedWizardRule()
           
 
Method Summary
 boolean evaluate(Object model)
          Evaluates the rule against the wizard bean.
 
Methods inherited from class net.sf.doolin.gui.wizard.rule.condition.AbstractWizardRule
getResult, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedWizardRule

public FixedWizardRule()
Method Detail

evaluate

public boolean evaluate(Object model)
Description copied from interface: WizardRule
Evaluates the rule against the wizard bean. If the evaluation returns true, the wizard can be navigated to the rule result (or Finish if this result is null).

Parameters:
model - Wizard bean
Returns:
Result of the evaluation


Copyright © 2011. All Rights Reserved.