wt.rule.algorithm
Class AndTest
java.lang.Object
wt.rule.algorithm.AndTest
- All Implemented Interfaces:
- RuleAlgorithm
public final class AndTest
- extends Object
- implements RuleAlgorithm
Given two or more comparisons, returns TRUE if all comparisons return
true, FALSE otherwise.
If any arg passed isn't Boolean, throw exception.
if no argument passed, throw exception.
Supported API: true
Extendable: false
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
calculate
public Object calculate(Object[] args,
WTContainerRef container)
throws WTException
- Execute the algorithm using the specified arguments. Return the result.
Supported API: true
- Specified by:
calculate in interface RuleAlgorithm
- Parameters:
args - the arguments for the algorithmcontainer - the container to use for object lookups
- Returns:
- Object
- Throws:
WTException