@ProviderType public interface Violation extends JsonObjectConvertible
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Describes the nature of the violation.
|
Collection<org.apache.jackrabbit.vault.packaging.PackageId> |
getPackages()
Provides a list of one or more Packages responsible for the violation.
|
Severity |
getSeverity()
Describe the severity of the violation.
|
default javax.json.JsonObject |
toJson()
Serializes the Violation to a JsonObject.
|
Severity getSeverity()
Collection<org.apache.jackrabbit.vault.packaging.PackageId> getPackages()
String getDescription()
default javax.json.JsonObject toJson()
toJson in interface JsonObjectConvertibleCopyright © 2017–2020. All rights reserved.