public enum SchedulingPolicyType extends Enum<SchedulingPolicyType>
Enum Constant and Description |
---|
EVENLY_DISTRIBUTED |
NONE |
POWER_SAVING |
Modifier and Type | Method and Description |
---|---|
static SchedulingPolicyType |
fromValue(String value) |
String |
value() |
static SchedulingPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulingPolicyType EVENLY_DISTRIBUTED
public static final SchedulingPolicyType POWER_SAVING
public static final SchedulingPolicyType NONE
public static SchedulingPolicyType[] values()
for (SchedulingPolicyType c : SchedulingPolicyType.values()) System.out.println(c);
public static SchedulingPolicyType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static SchedulingPolicyType fromValue(String value)
Copyright © 2012. All Rights Reserved.