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