@InterfaceAudience.Public @InterfaceStability.Unstable public enum PlacementType extends Enum<PlacementType>
Enum Constant and Description |
---|
AFFINITY |
AFFINITY_WITH_CARDINALITY |
ANTI_AFFINITY |
Modifier and Type | Method and Description |
---|---|
static PlacementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementType AFFINITY
public static final PlacementType ANTI_AFFINITY
public static final PlacementType AFFINITY_WITH_CARDINALITY
public static PlacementType[] values()
for (PlacementType c : PlacementType.values()) System.out.println(c);
public static PlacementType 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 © 2024 Apache Software Foundation. All rights reserved.