Skip to main content

MetadataTextCondition

Met when a metadata field has a value matching a text pattern.

Notes​

Met when at least one value of at least one field whose name matches fieldMatcher also matches valueMatcher. A field name pattern is required: the document content is never tested.

Examples​

class: MetadataTextCondition
fieldMatcher:
pattern: Content-Type
valueMatcher:
method: WILDCARD
pattern: application/zip*

Usage​

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

Properties​

PropertyTypeRequiredDefault
fieldMatcherTextMatcherNoTextMatcher
valueMatcherTextMatcherNoTextMatcher

Property Details​

fieldMatcher​

Matches metadata field names. Required.

valueMatcher​

Matches the values of the fields selected by fieldMatcher.