public static enum GmPublishingPriority.Value extends java.lang.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(java.lang.String textValue)
Returns the priority value based on the
textValue
parameter, or null if no such value exists. |
java.lang.String |
getTextValue()
Returns the text value, as represented in the entry.
|
static GmPublishingPriority.Value |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getTextValue()
public static GmPublishingPriority.Value getByText(java.lang.String textValue)
textValue
parameter, or null
if no such value exists.textValue
- text representation of the valuenull
if not found