public static enum Significance.Levels extends Enum<Significance.Levels>
| Enum Constant and Description |
|---|
critical |
distress |
none |
severe |
warning |
watch |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMoreSevere(Significance.Levels other) |
static Significance.Levels |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Significance.Levels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Significance.Levels none
public static final Significance.Levels watch
public static final Significance.Levels warning
public static final Significance.Levels distress
public static final Significance.Levels critical
public static final Significance.Levels severe
public static Significance.Levels[] values()
for (Significance.Levels c : Significance.Levels.values()) System.out.println(c);
public static Significance.Levels 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 boolean isMoreSevere(Significance.Levels other)
Copyright © 2020 Space Applications Services. All rights reserved.