CriteriaEvaluator - addCriterion(String lhComparand, String operator, String rhComparand)

Adds the criteria to be evaluated.

Table 1. Parameters
Name Type Description
lhComparand String The left hand comparand. Must be a named value in the left hand values input into evaluate().
operator String The operator. Must be one of: equals, starts with, contains, does not contain, ends with, or regex matches.
rhComparand String The right hand comparand. Can be evaluated either as one of the right hand values input to evaluate() or as a literal string.
Table 2. Returns
Type Description