public interface ReportingMetacardValidator
Modifier and Type | Method and Description |
---|---|
Optional<MetacardValidationReport> |
validateMetacard(Metacard metacard)
Validates a
Metacard . |
Optional<MetacardValidationReport> validateMetacard(Metacard metacard)
Metacard
.metacard
- the Metacard
to validate, cannot be nullOptional
containing a MetacardValidationReport
if there are
violations, or an empty Optional
if there are no violationsIllegalArgumentException
- if metacard
is nullThis work is licensed under a Creative Commons Attribution 4.0 International License.