JobDefaultOrder Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. batch. models. JobDefaultOrder
- com.
- com.
public final class JobDefaultOrder
extends ExpandableStringEnum<JobDefaultOrder>
The order for scheduling tasks from different jobs with the same priority.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Job |
CREATION_TIME
If jobs have equal priority, tasks from jobs that were created earlier should be scheduled first. |
|
static final
Job |
NONE
Tasks should be scheduled uniformly from all equal-priority jobs for the pool. |
Constructor Summary
| Constructor | Description |
|---|---|
| JobDefaultOrder() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Job |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Job |
fromString(String name)
Creates or finds a Job |
|
static
Collection<Job |
values()
Gets known Job |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CREATION_TIME
public static final JobDefaultOrder CREATION_TIME
If jobs have equal priority, tasks from jobs that were created earlier should be scheduled first.
NONE
public static final JobDefaultOrder NONE
Tasks should be scheduled uniformly from all equal-priority jobs for the pool.
Constructor Details
JobDefaultOrder
@Deprecated
public JobDefaultOrder()
Deprecated
Creates a new instance of JobDefaultOrder value.
Method Details
fromString
public static JobDefaultOrder fromString(String name)
Creates or finds a JobDefaultOrder from its string representation.
Parameters:
Returns:
values
public static Collection<JobDefaultOrder> values()
Gets known JobDefaultOrder values.
Returns: