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