public static enum TaskDeploymentDescriptorFactory.PartitionLocationConstraint extends Enum<TaskDeploymentDescriptorFactory.PartitionLocationConstraint>
| Enum Constant and Description |
|---|
CAN_BE_UNKNOWN |
MUST_BE_KNOWN |
| Modifier and Type | Method and Description |
|---|---|
static TaskDeploymentDescriptorFactory.PartitionLocationConstraint |
fromJobType(JobType jobType) |
static TaskDeploymentDescriptorFactory.PartitionLocationConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskDeploymentDescriptorFactory.PartitionLocationConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskDeploymentDescriptorFactory.PartitionLocationConstraint MUST_BE_KNOWN
public static final TaskDeploymentDescriptorFactory.PartitionLocationConstraint CAN_BE_UNKNOWN
public static TaskDeploymentDescriptorFactory.PartitionLocationConstraint[] values()
for (TaskDeploymentDescriptorFactory.PartitionLocationConstraint c : TaskDeploymentDescriptorFactory.PartitionLocationConstraint.values()) System.out.println(c);
public static TaskDeploymentDescriptorFactory.PartitionLocationConstraint 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 static TaskDeploymentDescriptorFactory.PartitionLocationConstraint fromJobType(JobType jobType)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.