public static enum ScheduledJob.StatusEnum extends Enum<ScheduledJob.StatusEnum>
Modifier and Type | Class and Description |
---|---|
static class |
ScheduledJob.StatusEnum.Adapter |
Enum Constant and Description |
---|
CANCELLED |
COMPLETED |
FAILED |
SUBMITTED |
Modifier and Type | Method and Description |
---|---|
static ScheduledJob.StatusEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static ScheduledJob.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduledJob.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduledJob.StatusEnum SUBMITTED
public static final ScheduledJob.StatusEnum COMPLETED
public static final ScheduledJob.StatusEnum FAILED
public static final ScheduledJob.StatusEnum CANCELLED
public static ScheduledJob.StatusEnum[] values()
for (ScheduledJob.StatusEnum c : ScheduledJob.StatusEnum.values()) System.out.println(c);
public static ScheduledJob.StatusEnum 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 String getValue()
public String toString()
toString
in class Enum<ScheduledJob.StatusEnum>
public static ScheduledJob.StatusEnum fromValue(String value)
Copyright © 2023. All rights reserved.