Class JcrBoolPropertyPredicateEvaluator

  • All Implemented Interfaces:
    PredicateEvaluator

    public class JcrBoolPropertyPredicateEvaluator
    extends JcrPropertyPredicateEvaluator
    Matches on JCR BOOLEAN properties. Only accepts the values "true" and "false" and in case of "false" it will match if the property has the value "false" or if it does not exist at all. This can be useful for checking for boolean flags that are only set when enabled.

    The inherited "operation" parameter has no meaning.

    Supports facet extraction. Will provide buckets for each true/false value, but only for existing properties.

    Name:

    boolproperty

    Properties:

    boolproperty
    relative path to property, for example myFeatureEnabled or jcr:content/myFeatureEnabled
    value
    value to check property for, "true" or "false"
    Since:
    5.3