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