Skip to main content

GenericReferenceFilter

Filter references by matching text expression.

Notes

Filters document references using a configurable text matcher. References that match the expression are either included or excluded depending on the onMatch setting.

Examples

The following will reject documents having "/login/" in their reference.

class: GenericReferenceFilter
onMatch: EXCLUDE
valueMatcher:
method: REGEX
pattern: .*/login/.*

Usage

Full configuration skeleton, with every option and its default
class: GenericReferenceFilter
onMatch: INCLUDE
valueMatcher:
ignoreCase: false
ignoreDiacritic: false
matchEmpty: false
method: BASIC
negateMatches: false
partial: false
pattern: string
replaceAll: false
trim: false

Properties

PropertyTypeRequiredDefault
onMatchenumNoINCLUDE
valueMatcherTextMatcherNo-

Property Details

onMatch

What to do with a matching reference.

Allowed Values

  • INCLUDE
  • EXCLUDE

valueMatcher

Use the following fields to dictate how references should be matched by this filter.