Package ddf.catalog.validation
Interface ReportingMetacardValidator
public interface ReportingMetacardValidator
-
Method Summary
-
Method Details
-
validateMetacard
Validates aMetacard.- Parameters:
metacard- theMetacardto validate, cannot be null- Returns:
- an
Optionalcontaining aMetacardValidationReportif there are violations, or an emptyOptionalif there are no violations - Throws:
IllegalArgumentException- ifmetacardis null
-