Package nl.knaw.dans.lib.util.ruleengine
Interface BagValidatorRule
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a rule to be validated.
-
Method Summary
Modifier and TypeMethodDescriptionValidate the bag atpathagainst this rule.
-
Method Details
-
validate
Validate the bag atpathagainst this rule.- Parameters:
path- the path of the bag- Returns:
- the result
- Throws:
Exception- if the validation could not be run
-