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