public enum WarningSeverity extends Enum<WarningSeverity>
| Enum Constant and Description |
|---|
FATAL
That's really bad.
|
INFORMATIVE
Might be worth looking into.
|
NONE
Really not a problem.
|
NORMAL
Should be taken care of.
|
| Modifier and Type | Method and Description |
|---|---|
static WarningSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WarningSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WarningSeverity NONE
public static final WarningSeverity INFORMATIVE
public static final WarningSeverity NORMAL
public static final WarningSeverity FATAL
public static WarningSeverity[] values()
for (WarningSeverity c : WarningSeverity.values()) System.out.println(c);
public static WarningSeverity 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 nullCopyright © 2010-2012 University of Erlangen-Nürnberg - Open Source Research Group. All Rights Reserved.