public static enum PersistJob.CancelState extends Enum<PersistJob.CancelState>
Enum Constant and Description |
---|
CANCELING |
NOT_CANCELED |
TO_BE_CANCELED |
Modifier and Type | Method and Description |
---|---|
static PersistJob.CancelState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistJob.CancelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistJob.CancelState NOT_CANCELED
public static final PersistJob.CancelState TO_BE_CANCELED
public static final PersistJob.CancelState CANCELING
public static PersistJob.CancelState[] values()
for (PersistJob.CancelState c : PersistJob.CancelState.values()) System.out.println(c);
public static PersistJob.CancelState 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 © 2023. All Rights Reserved.