Skip to main content

MetadataAllOf

Met when all of its conditions are met.

Notes​

A logical AND. Also met when it has no conditions. Groups can be nested.

Examples​

Bigger than 1 MB and a PDF:

class: MetadataAllOf
conditions:
- class: MetadataNumberCondition
fieldMatcher:
pattern: Content-Length
valueMatcher:
operator: gt
number: 1048576
- class: MetadataTextCondition
fieldMatcher:
pattern: Content-Type
valueMatcher:
pattern: application/pdf

Usage​

Full configuration skeleton, with every option and its default
class: MetadataAllOf
conditions: []

Properties​

PropertyTypeRequiredDefault
conditionsMetadataCondition[]No-

Property Details​

conditions​

The conditions that must all be met.