public enum JobState extends Enum<JobState>
Enum Constant and Description |
---|
ACCEPTED
Enum value Accepted.
|
COMPILING
Enum value Compiling.
|
ENDED
Enum value Ended.
|
NEW
Enum value New.
|
PAUSED
Enum value Paused.
|
QUEUED
Enum value Queued.
|
RUNNING
Enum value Running.
|
SCHEDULING
Enum value Scheduling.
|
STARTING
Enum value Starting.
|
WAITING_FOR_CAPACITY
Enum value WaitingForCapacity.
|
Modifier and Type | Method and Description |
---|---|
static JobState |
fromString(String value)
Parses a serialized value to a JobState instance.
|
String |
toString() |
static JobState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobState ACCEPTED
public static final JobState COMPILING
public static final JobState ENDED
public static final JobState NEW
public static final JobState QUEUED
public static final JobState RUNNING
public static final JobState SCHEDULING
public static final JobState STARTING
public static final JobState PAUSED
public static final JobState WAITING_FOR_CAPACITY
public static JobState[] values()
for (JobState c : JobState.values()) System.out.println(c);
public static JobState 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 JobState fromString(String value)
value
- the serialized value to parse.Copyright © 2019. All rights reserved.