public static enum SidewikiEntryQuery.SortOrder extends java.lang.Enum<SidewikiEntryQuery.SortOrder>
Enum Constant and Description |
---|
PUBLISHED
Orders by entry creation date.
|
QUALITY
Orders by entry quality.
|
UPDATED
Orders by entry last modification date.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toValue()
Returns the value used in the URL.
|
static SidewikiEntryQuery.SortOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SidewikiEntryQuery.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SidewikiEntryQuery.SortOrder PUBLISHED
public static final SidewikiEntryQuery.SortOrder QUALITY
public static final SidewikiEntryQuery.SortOrder UPDATED
public static SidewikiEntryQuery.SortOrder[] values()
for (SidewikiEntryQuery.SortOrder c : SidewikiEntryQuery.SortOrder.values()) System.out.println(c);
public static SidewikiEntryQuery.SortOrder 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 toValue()