public static enum ServiceDownEvent.EventKind extends java.lang.Enum<ServiceDownEvent.EventKind>
Modifier and Type | Method and Description |
---|---|
static ServiceDownEvent.EventKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceDownEvent.EventKind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ServiceDownEvent.EventKind MEMBER
public static final ServiceDownEvent.EventKind COMPOSITE
public static final ServiceDownEvent.EventKind BOTH
public static ServiceDownEvent.EventKind[] values()
for (ServiceDownEvent.EventKind c : ServiceDownEvent.EventKind.values()) System.out.println(c);
public static ServiceDownEvent.EventKind 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