public static enum Diagnostic.Severity extends Enum<Diagnostic.Severity>
| Enum Constant and Description |
|---|
Error |
Hint |
Information |
Warning |
| Modifier and Type | Method and Description |
|---|---|
static Diagnostic.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Diagnostic.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Diagnostic.Severity Error
public static final Diagnostic.Severity Warning
public static final Diagnostic.Severity Hint
public static final Diagnostic.Severity Information
public static Diagnostic.Severity[] values()
public static Diagnostic.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 null