protected static enum ProblemLabelDecorator.Severity extends java.lang.Enum<ProblemLabelDecorator.Severity>
Modifier and Type | Method and Description |
---|---|
static ProblemLabelDecorator.Severity |
max(ProblemLabelDecorator.Severity a,
ProblemLabelDecorator.Severity b)
Returns the more severe of the two
Severity values. |
static ProblemLabelDecorator.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProblemLabelDecorator.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProblemLabelDecorator.Severity ERROR
public static final ProblemLabelDecorator.Severity WARNING
public static ProblemLabelDecorator.Severity[] values()
for (ProblemLabelDecorator.Severity c : ProblemLabelDecorator.Severity.values()) System.out.println(c);
public static ProblemLabelDecorator.Severity 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 static ProblemLabelDecorator.Severity max(ProblemLabelDecorator.Severity a, ProblemLabelDecorator.Severity b)
Severity
values.a
- may be null
b
- may be null
a
and b
.
Returns null
iff both values are null
Copyright (c) 2014, 2019 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0