public enum LocationPreferenceConstraint extends Enum<LocationPreferenceConstraint>
Currently, we support that all input locations have to be taken into consideration and only those which are known at scheduling time. Note that if all input locations are considered, then the scheduling operation can potentially take a while until all inputs have locations assigned.
Modifier and Type | Method and Description |
---|---|
static LocationPreferenceConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationPreferenceConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationPreferenceConstraint ALL
public static final LocationPreferenceConstraint ANY
public static LocationPreferenceConstraint[] values()
for (LocationPreferenceConstraint c : LocationPreferenceConstraint.values()) System.out.println(c);
public static LocationPreferenceConstraint 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 © 2014–2024 The Apache Software Foundation. All rights reserved.