Package wt.rule.algorithm

Interface Summary
RuleAlgorithm Code that implements this interface could allow itself to be used within the Rule xml files defined through administrative OIR as algorithms.
 

Class Summary
AndTest Given two or more comparisons, returns TRUE if all comparisons return true, FALSE otherwise.
BooleanBranch This algorithm returns one of two values based on a boolean value.
CaseBranch This is a branch algorithm, which is similar to BooleanBranch, but allows any odd number of parts as input and allows a default return.
EnumTypeConstant An algorithm that takes the fully qualified name of a concrete EnumeratedType class and an internal value for an instance of that type and returns an instance of that type.
EqualsTest two objects, determine the equality.
OrTest 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.
StringConstant An very simple algorithm that takes a single String argument and returns it unmodified.
StringEqualsTest Given an attribute and value determine the equality.
StringInListTest Takes a list of values and tests if the first is equal to any of the others, and then returns a Boolean.
StringRegExEqualsTest Given an attribute and a value, with "*" in the value, determine the equality using Regular Expression related concepts.
 

Exception Summary
InvalidAlgorithmArgumentException Thrown when the arguments passed to an algorithm contain invalid data.