public static enum MeterEvent.Type extends java.lang.Enum<MeterEvent.Type>
Enum Constant and Description |
---|
METER_ADD_REQ
A meter addition was requested.
|
METER_ADDED
A meter was finally added to device.
|
METER_REM_REQ
A meter removal was requested.
|
METER_REMOVED
A meter was finally removed from device.
|
Modifier and Type | Method and Description |
---|---|
static MeterEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MeterEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeterEvent.Type METER_ADD_REQ
public static final MeterEvent.Type METER_REM_REQ
public static final MeterEvent.Type METER_ADDED
public static final MeterEvent.Type METER_REMOVED
public static MeterEvent.Type[] values()
for (MeterEvent.Type c : MeterEvent.Type.values()) System.out.println(c);
public static MeterEvent.Type 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