public static enum RunningJobsRegistry.JobSchedulingStatus extends Enum<RunningJobsRegistry.JobSchedulingStatus>
RunningJobsRegistry
.Enum Constant and Description |
---|
DONE
Job has been finished, successfully or unsuccessfully.
|
PENDING
Job has not been scheduled, yet.
|
RUNNING
Job has been scheduled and is not yet finished.
|
Modifier and Type | Method and Description |
---|---|
static RunningJobsRegistry.JobSchedulingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunningJobsRegistry.JobSchedulingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunningJobsRegistry.JobSchedulingStatus PENDING
public static final RunningJobsRegistry.JobSchedulingStatus RUNNING
public static final RunningJobsRegistry.JobSchedulingStatus DONE
public static RunningJobsRegistry.JobSchedulingStatus[] values()
for (RunningJobsRegistry.JobSchedulingStatus c : RunningJobsRegistry.JobSchedulingStatus.values()) System.out.println(c);
public static RunningJobsRegistry.JobSchedulingStatus 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 nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.