public static enum ReviewInput.DraftHandling extends Enum<ReviewInput.DraftHandling>
Enum Constant and Description |
---|
DELETE
Delete pending drafts on this revision only.
|
KEEP
Leave pending drafts alone.
|
PUBLISH
Publish pending drafts on this revision only.
|
PUBLISH_ALL_REVISIONS
Publish pending drafts on all revisions.
|
Modifier and Type | Method and Description |
---|---|
static ReviewInput.DraftHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReviewInput.DraftHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReviewInput.DraftHandling DELETE
public static final ReviewInput.DraftHandling PUBLISH
public static final ReviewInput.DraftHandling KEEP
public static final ReviewInput.DraftHandling PUBLISH_ALL_REVISIONS
public static ReviewInput.DraftHandling[] values()
for (ReviewInput.DraftHandling c : ReviewInput.DraftHandling.values()) System.out.println(c);
public static ReviewInput.DraftHandling 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 null