public enum DiagnosticSeverity extends java.lang.Enum<DiagnosticSeverity>
| Enum Constant and Description |
|---|
Error
Reports an error.
|
Hint
Reports a hint.
|
Information
Reports an information.
|
Warning
Reports a warning.
|
| Modifier and Type | Method and Description |
|---|---|
static DiagnosticSeverity |
forValue(int value) |
int |
getValue() |
static DiagnosticSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiagnosticSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagnosticSeverity Error
public static final DiagnosticSeverity Warning
public static final DiagnosticSeverity Information
public static final DiagnosticSeverity Hint
public static DiagnosticSeverity[] values()
for (DiagnosticSeverity c : DiagnosticSeverity.values()) System.out.println(c);
public static DiagnosticSeverity valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static DiagnosticSeverity forValue(int value)