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