public enum StatusPhase extends Enum<StatusPhase>
| Enum Constant and Description |
|---|
DRAFT |
INVALID |
PUBLICATION_ERROR |
PUBLISHED |
UNDER_PUBLICATION |
UNDER_VALIDATION |
VALID |
| Modifier and Type | Method and Description |
|---|---|
static StatusPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusPhase DRAFT
public static final StatusPhase UNDER_VALIDATION
public static final StatusPhase INVALID
public static final StatusPhase VALID
public static final StatusPhase UNDER_PUBLICATION
public static final StatusPhase PUBLICATION_ERROR
public static final StatusPhase PUBLISHED
public static StatusPhase[] values()
for (StatusPhase c : StatusPhase.values()) System.out.println(c);
public static StatusPhase 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 © 2021. All Rights Reserved.