public static enum DeviceEvent.Type extends java.lang.Enum<DeviceEvent.Type>
Enum Constant and Description |
---|
DEVICE_ADDED
Signifies that a new device has been detected.
|
DEVICE_AVAILABILITY_CHANGED
Signifies that a device has come online or has gone offline.
|
DEVICE_REMOVED
Signifies that a device has been removed.
|
DEVICE_SUSPENDED
Signifies that a device has been administratively suspended.
|
DEVICE_UPDATED
Signifies that some device attributes have changed; excludes
availability changes.
|
PORT_ADDED
Signifies that a port has been added.
|
PORT_REMOVED
Signifies that a port has been removed.
|
PORT_STATS_UPDATED
Signifies that port statistics has been updated.
|
PORT_UPDATED
Signifies that a port has been updated.
|
Modifier and Type | Method and Description |
---|---|
static DeviceEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceEvent.Type DEVICE_ADDED
public static final DeviceEvent.Type DEVICE_UPDATED
public static final DeviceEvent.Type DEVICE_REMOVED
public static final DeviceEvent.Type DEVICE_SUSPENDED
public static final DeviceEvent.Type DEVICE_AVAILABILITY_CHANGED
public static final DeviceEvent.Type PORT_ADDED
public static final DeviceEvent.Type PORT_UPDATED
public static final DeviceEvent.Type PORT_REMOVED
public static final DeviceEvent.Type PORT_STATS_UPDATED
public static DeviceEvent.Type[] values()
for (DeviceEvent.Type c : DeviceEvent.Type.values()) System.out.println(c);
public static DeviceEvent.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