public enum AdvertiseEventType extends Enum<AdvertiseEventType>
Enum Constant and Description |
---|
ON_NEW_SERVER
New AdvertisedServer detected
|
ON_STATUS_CHANGE
AdvertisedServer server changed status
|
Modifier and Type | Method and Description |
---|---|
int |
valueOf() |
static AdvertiseEventType |
valueOf(int value) |
static AdvertiseEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdvertiseEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvertiseEventType ON_NEW_SERVER
public static final AdvertiseEventType ON_STATUS_CHANGE
public static AdvertiseEventType[] values()
for (AdvertiseEventType c : AdvertiseEventType.values()) System.out.println(c);
public static AdvertiseEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int valueOf()
public static AdvertiseEventType valueOf(int value)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.