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.