Interface MetacardValidationReport


public interface MetacardValidationReport
Describes the outcome of validating a single Metacard.

This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.

  • Method Details

    • getAttributeValidationViolations

      Set<ValidationViolation> getAttributeValidationViolations()
      Returns the set of ValidationViolations representing the attribute-level violations on the validated Metacard.

      If there are no attribute-level violations, this method just returns an empty set.

      Returns:
      the set of attribute-level violations or an empty set if there are none
    • getMetacardValidationViolations

      Set<ValidationViolation> getMetacardValidationViolations()
      Returns the set of ValidationViolations representing the metacard-level violations on the validated Metacard.

      If there are no metacard-level violations, this method just returns an empty set.

      Returns:
      the set of metacard-level violations or an empty set if there are none