public static enum Situation.Severity extends Enum<Situation.Severity>
| Enum Constant and Description |
|---|
Critical
Critical severity.
|
High
High severity.
|
Low
Low severity.
|
Medium
Medium severity.
|
| Modifier and Type | Method and Description |
|---|---|
static Situation.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Situation.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Situation.Severity Low
public static final Situation.Severity Medium
public static final Situation.Severity High
public static final Situation.Severity Critical
public static Situation.Severity[] values()
for (Situation.Severity c : Situation.Severity.values()) System.out.println(c);
public static Situation.Severity 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 © 2013-2015 JBoss by Red Hat. All Rights Reserved.