java.io.Serializable
, java.lang.Comparable<EnableAssignmentDecider.Allocation>
public static enum EnableAssignmentDecider.Allocation extends java.lang.Enum<EnableAssignmentDecider.Allocation>
EnableAssignmentDecider.CLUSTER_TASKS_ALLOCATION_ENABLE_SETTING
via cluster settings.Modifier and Type | Method | Description |
---|---|---|
static EnableAssignmentDecider.Allocation |
fromString(java.lang.String strValue) |
|
java.lang.String |
toString() |
|
static EnableAssignmentDecider.Allocation |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EnableAssignmentDecider.Allocation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableAssignmentDecider.Allocation NONE
public static final EnableAssignmentDecider.Allocation ALL
public static EnableAssignmentDecider.Allocation[] values()
for (EnableAssignmentDecider.Allocation c : EnableAssignmentDecider.Allocation.values()) System.out.println(c);
public static EnableAssignmentDecider.Allocation 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 static EnableAssignmentDecider.Allocation fromString(java.lang.String strValue)
public java.lang.String toString()
toString
in class java.lang.Enum<EnableAssignmentDecider.Allocation>