public enum PublishingStatusEnum extends Enum<PublishingStatusEnum>
Enum Constant and Description |
---|
CANCELLED |
DONE |
FAILED |
STARTED |
SUBTASK_FINISHED |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
toString() |
static PublishingStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublishingStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final PublishingStatusEnum STARTED
public static final PublishingStatusEnum DONE
public static final PublishingStatusEnum CANCELLED
public static final PublishingStatusEnum SUBTASK_FINISHED
public static final PublishingStatusEnum FAILED
public static PublishingStatusEnum[] values()
for (PublishingStatusEnum c : PublishingStatusEnum.values()) System.out.println(c);
public static PublishingStatusEnum 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 getName()
public String toString()
toString
in class Enum<PublishingStatusEnum>