public enum ProblemSeverity extends java.lang.Enum<ProblemSeverity>
IMarker
severitiesModifier and Type | Field and Description |
---|---|
private int |
severity |
Modifier and Type | Method and Description |
---|---|
static ProblemSeverity |
get(java.lang.String value) |
int |
getSeverity()
Returns matching
IMarker severity value or -1 if ignore |
static ProblemSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProblemSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProblemSeverity ignore
public static final ProblemSeverity info
public static final ProblemSeverity warning
public static final ProblemSeverity error
public static ProblemSeverity[] values()
for (ProblemSeverity c : ProblemSeverity.values()) System.out.println(c);
public static ProblemSeverity 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 getSeverity()
IMarker
severity value or -1 if ignoreIMarker#SEVERITY}
public static ProblemSeverity get(java.lang.String value)