public enum ProblemSeverity extends Enum<ProblemSeverity>
IMarker
severitiesModifier and Type | Method and Description |
---|---|
static ProblemSeverity |
get(String value) |
int |
getSeverity()
Returns matching
IMarker severity value or -1 if ignore |
static ProblemSeverity |
valueOf(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(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 int getSeverity()
IMarker
severity value or -1 if ignoreIMarker#SEVERITY}
public static ProblemSeverity get(String value)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.