private static enum DefaultTopologyService.Event extends java.lang.Enum<DefaultTopologyService.Event>
Events that can occur in the service.
Enum Constant and Description |
---|
MEMBERSHIP_CHANGED |
START |
STARTED |
STOP |
TOPOLOGY_CONFIGURED |
TOPOLOGY_TYPE_CHANGED |
Modifier and Type | Method and Description |
---|---|
static DefaultTopologyService.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultTopologyService.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultTopologyService.Event START
public static final DefaultTopologyService.Event STARTED
public static final DefaultTopologyService.Event MEMBERSHIP_CHANGED
public static final DefaultTopologyService.Event TOPOLOGY_TYPE_CHANGED
public static final DefaultTopologyService.Event TOPOLOGY_CONFIGURED
public static final DefaultTopologyService.Event STOP
public static DefaultTopologyService.Event[] values()
for (DefaultTopologyService.Event c : DefaultTopologyService.Event.values()) System.out.println(c);
public static DefaultTopologyService.Event 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