BatchJobDefaultOrder Class

public final class BatchJobDefaultOrder
extends ExpandableStringEnum<BatchJobDefaultOrder>

BatchJobDefaultOrder enums.

Field Summary

Modifier and Type Field and Description
static final BatchJobDefaultOrder CREATION_TIME

If jobs have equal priority, tasks from jobs that were created earlier should be scheduled first.

static final BatchJobDefaultOrder NONE

Tasks should be scheduled uniformly from all equal-priority jobs for the pool.

Constructor Summary

Constructor Description
BatchJobDefaultOrder()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchJobDefaultOrder value.

Method Summary

Modifier and Type Method and Description
static BatchJobDefaultOrder fromString(String name)

Creates or finds a BatchJobDefaultOrder from its string representation.

static Collection<BatchJobDefaultOrder> values()

Gets known BatchJobDefaultOrder values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREATION_TIME

public static final BatchJobDefaultOrder CREATION_TIME

If jobs have equal priority, tasks from jobs that were created earlier should be scheduled first.

NONE

public static final BatchJobDefaultOrder NONE

Tasks should be scheduled uniformly from all equal-priority jobs for the pool.

Constructor Details

BatchJobDefaultOrder

@Deprecated
public BatchJobDefaultOrder()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchJobDefaultOrder value.

Method Details

fromString

public static BatchJobDefaultOrder fromString(String name)

Creates or finds a BatchJobDefaultOrder from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BatchJobDefaultOrder.

values

public static Collection<BatchJobDefaultOrder> values()

Gets known BatchJobDefaultOrder values.

Returns:

known BatchJobDefaultOrder values.

Applies to