public static enum ValidationResult.Severity extends Enum<ValidationResult.Severity>
Modifier and Type | Method and Description |
---|---|
boolean |
isEquallyOrMoreSevereThan(ValidationResult.Severity other) |
static ValidationResult.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationResult.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationResult.Severity ERROR
public static final ValidationResult.Severity WARN
public static final ValidationResult.Severity INFO
public static final ValidationResult.Severity DEBUG
public static final ValidationResult.Severity TRACE
public static ValidationResult.Severity[] values()
for (ValidationResult.Severity c : ValidationResult.Severity.values()) System.out.println(c);
public static ValidationResult.Severity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isEquallyOrMoreSevereThan(ValidationResult.Severity other)
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.