public static enum Alarm.State extends Enum<Alarm.State>
Enum Constant and Description |
---|
ALARM |
INSUFFICIENT_DATA |
OK |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Alarm.State |
fromValue(String value) |
static Alarm.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alarm.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alarm.State ALARM
public static final Alarm.State INSUFFICIENT_DATA
public static final Alarm.State OK
public static final Alarm.State UNRECOGNIZED
public static Alarm.State[] values()
for (Alarm.State c : Alarm.State.values()) System.out.println(c);
public static Alarm.State 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.State fromValue(String value)
Copyright © 2009-2013 jclouds. All Rights Reserved.