public static enum Alarm.Severity extends Enum<Alarm.Severity>
Modifier and Type | Method and Description |
---|---|
static Alarm.Severity |
fromValue(int value) |
static Alarm.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alarm.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alarm.Severity INFO
public static final Alarm.Severity WARNING
public static final Alarm.Severity ERROR
public static final Alarm.Severity FATAL
public static Alarm.Severity[] values()
for (Alarm.Severity c : Alarm.Severity.values()) System.out.println(c);
public static Alarm.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 nullpublic static Alarm.Severity fromValue(int value)
Copyright © 2016–2017 CLIF project. All rights reserved.