public static enum Server.AffinityType extends java.lang.Enum<Server.AffinityType>
| Enum Constant and Description |
|---|
CONTROLLER |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static Server.AffinityType |
parseString(java.lang.String str) |
java.lang.String |
string() |
static Server.AffinityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Server.AffinityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.AffinityType CONTROLLER
public static final Server.AffinityType INSTANCE
public static Server.AffinityType[] values()
for (Server.AffinityType c : Server.AffinityType.values()) System.out.println(c);
public static Server.AffinityType 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 nullpublic java.lang.String string()
public static Server.AffinityType parseString(java.lang.String str)