Interface IValidationFinding
-
- All Known Implementing Classes:
ConstraintValidationFinding
,JsonSchemaContentValidator.JsonValidationFinding
,XmlSchemaContentValidator.XmlValidationFinding
public interface IValidationFinding
Provides information about an individual finding that is the result of a completed content validation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Throwable
getCause()
Get the exception associated with the finding.URI
getDocumentUri()
Get the document's URI.CharSequence
getMessage()
Get the finding message.IConstraint.Level
getSeverity()
Get the finding's severity.
-
-
-
Method Detail
-
getSeverity
@NonNull IConstraint.Level getSeverity()
Get the finding's severity.- Returns:
- the severity
-
getDocumentUri
@NonNull URI getDocumentUri()
Get the document's URI.- Returns:
- the document's URI
-
getMessage
@NonNull CharSequence getMessage()
Get the finding message.- Returns:
- the message
-
-