SchedulingState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. SchedulingState
- com.
- com.
public final class SchedulingState
extends ExpandableStringEnum<SchedulingState>
SchedulingState enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Scheduling |
DISABLED
No new Tasks will be scheduled on the Compute Node. |
|
static final
Scheduling |
ENABLED
Tasks can be scheduled on the Compute Node. |
Constructor Summary
| Constructor | Description |
|---|---|
| SchedulingState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Scheduling |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Scheduling |
fromString(String name)
Creates or finds a Scheduling |
|
static
Collection<Scheduling |
values()
Gets known Scheduling |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final SchedulingState DISABLED
No new Tasks will be scheduled on the Compute Node. Tasks already running on the Compute Node may still run to completion. All Compute Nodes start with scheduling enabled.
ENABLED
public static final SchedulingState ENABLED
Tasks can be scheduled on the Compute Node.
Constructor Details
SchedulingState
@Deprecated
public SchedulingState()
Deprecated
Creates a new instance of SchedulingState value.
Method Details
fromString
public static SchedulingState fromString(String name)
Creates or finds a SchedulingState from its string representation.
Parameters:
Returns:
values
public static Collection<SchedulingState> values()
Gets known SchedulingState values.
Returns: