Package wt.rule.algorithm
Class StringInListTest
java.lang.Object
wt.rule.algorithm.StringInListTest
- All Implemented Interfaces:
RuleAlgorithm
Takes a list of values and tests if the first is equal to any of the others, and then returns a Boolean. Force
everything using toString() first before comparison.
Converts using toString() if the parameters passed in is not String type.
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
-