public static enum SchedConstants.Policy extends Enum<SchedConstants.Policy>
| Enum Constant and Description |
|---|
FAIR_SHARE |
FIXED_SHARE |
RESERVE |
| Modifier and Type | Method and Description |
|---|---|
static SchedConstants.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedConstants.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedConstants.Policy FAIR_SHARE
public static final SchedConstants.Policy FIXED_SHARE
public static final SchedConstants.Policy RESERVE
public static SchedConstants.Policy[] values()
for (SchedConstants.Policy c : SchedConstants.Policy.values()) System.out.println(c);
public static SchedConstants.Policy 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 nullCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.