| Modifier and Type | Method and Description |
|---|---|
static Severity |
Severity.byName(@NotNull String name)
Runtime throwing function to lookup severity codes by name.
|
Severity |
Violation.getSeverity()
Describe the severity of the violation.
|
Severity |
SimpleViolation.getSeverity() |
Severity |
Severity.maxSeverity(@NotNull Severity other) |
static Severity |
Severity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Severity[] |
Severity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Predicate<Severity> |
Severity.meetsMinimumSeverity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Severity.isLessSevereThan(Severity other) |
Severity |
Severity.maxSeverity(@NotNull Severity other) |
protected void |
SimpleProgressCheck.reportViolation(Severity severity,
String description,
org.apache.jackrabbit.vault.packaging.PackageId... packages) |
SimpleViolation.Builder |
SimpleViolation.Builder.withSeverity(Severity severity)
Set severity.
|
| Constructor and Description |
|---|
SimpleViolation(Severity severity,
String description,
List<org.apache.jackrabbit.vault.packaging.PackageId> packages)
Constructor.
|
SimpleViolation(Severity severity,
String description,
org.apache.jackrabbit.vault.packaging.PackageId... packages)
Constructor.
|
Copyright © 2017–2020. All rights reserved.