public static enum GmPublishingPriority.Value extends Enum<GmPublishingPriority.Value>
| Enum Constant and Description |
|---|
HIGH
The item has a high priority for getting published.
|
LOW
The item has a low priority for getting published.
|
| Modifier and Type | Method and Description |
|---|---|
static GmPublishingPriority.Value |
getByText(String textValue)
Returns the priority value based on the
textValue
parameter, or null if no such value exists. |
String |
getTextValue()
Returns the text value, as represented in the entry.
|
static GmPublishingPriority.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GmPublishingPriority.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GmPublishingPriority.Value HIGH
public static final GmPublishingPriority.Value LOW
public static GmPublishingPriority.Value[] values()
for (GmPublishingPriority.Value c : GmPublishingPriority.Value.values()) System.out.println(c);
public static GmPublishingPriority.Value 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 getTextValue()
public static GmPublishingPriority.Value getByText(String textValue)
textValue
parameter, or null if no such value exists.textValue - text representation of the valuenull if not foundCopyright © 2012. All Rights Reserved.