com.jeta.open.rules
Class EmptyRule
java.lang.Object
com.jeta.open.rules.EmptyRule
- All Implemented Interfaces:
- JETARule
public class EmptyRule
- extends Object
- implements JETARule
This class defines a basic rule that does nothing
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static JETARule getInstance()
check
public RuleResult check(Object[] params)
- JETARule Implementation. Always return success.
- Specified by:
check
in interface JETARule
- Parameters:
params
- an array of parameters needed by this rule. The rule defines
the parameters that it needs.
- Returns:
- null or RuleResult.SUCCESS if the rule passes. Otherwise, return
a RuleResult with a failed error code and an option error message
Copyright © 2005-2007 Jeff Tassin & Todd Viegut. All Rights Reserved.