Package wt.rule.algorithm
Class IfNullTest
java.lang.Object
wt.rule.algorithm.IfNullTest
- All Implemented Interfaces:
RuleAlgorithm
Input Parameter of the algorithm:args array Return value of the algorithm: return true, if the first arg is Null,
else, return false
Supported API: true
Supported API: true
-
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
-