public enum MeterState extends java.lang.Enum<MeterState>
| Enum Constant and Description |
|---|
ADDED
The meter has been added.
|
PENDING_ADD
The meter is in the process of being added.
|
PENDING_REMOVE
The meter is in the process of being removed.
|
REMOVED
The meter has been removed.
|
| Modifier and Type | Method and Description |
|---|---|
static MeterState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MeterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeterState PENDING_ADD
public static final MeterState ADDED
public static final MeterState PENDING_REMOVE
public static final MeterState REMOVED
public static MeterState[] values()
for (MeterState c : MeterState.values()) System.out.println(c);
public static MeterState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null