Package wt.rule.algorithm
Class OrTest
java.lang.Object
wt.rule.algorithm.OrTest
- All Implemented Interfaces:
RuleAlgorithm
Given two or more comparisons, return TRUE if any comparison returns true and all agrs passed in are Boolean, If any
arg passed isn't Boolean, throw exception. FALSE if All comparsion returns false. if no argument passed, throw
exception.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptioncalculate(Object[] args, WTContainerRef container) Execute the algorithm using the specified arguments.
-
Method Details
-
calculate
Execute the algorithm using the specified arguments. Return the result.
Supported API: true- Specified by:
calculatein interfaceRuleAlgorithm- Parameters:
args- the arguments for the algorithmcontainer- the container to use for object lookups- Returns:
- Object
- Throws:
WTException
-