public static enum ServiceWatcherEvent.EventType extends java.lang.Enum<ServiceWatcherEvent.EventType>
| Enum Constant and Description |
|---|
ADDING
A service is being added to the ServiceTracker.
|
MODIFIED
A service tracked by the ServiceTracker has been modified.
|
REMOVED
A service tracked by the ServiceTracker has been removed.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceWatcherEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceWatcherEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceWatcherEvent.EventType ADDING
public static final ServiceWatcherEvent.EventType MODIFIED
public static final ServiceWatcherEvent.EventType REMOVED
public static ServiceWatcherEvent.EventType[] values()
for (ServiceWatcherEvent.EventType c : ServiceWatcherEvent.EventType.values()) System.out.println(c);
public static ServiceWatcherEvent.EventType 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