public enum SearchSort extends Enum<SearchSort>
| Enum Constant and Description |
|---|
LAST_MODIFICATION
Last modification date.
|
RELEVANCE
Relevance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOrderBy() |
static SearchSort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchSort RELEVANCE
public static final SearchSort LAST_MODIFICATION
public static SearchSort[] values()
for (SearchSort c : SearchSort.values()) System.out.println(c);
public static SearchSort 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 getOrderBy()
Copyright © 2022. All rights reserved.