Package net.avcompris.commons3.api
Enum UserSessionsQuery.SortBy
- All Implemented Interfaces:
Serializable
,Comparable<UserSessionsQuery.SortBy>
,java.lang.constant.Constable
- Enclosing interface:
UserSessionsQuery
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserSessionsQuery.SortBy
Returns the enum constant of this type with the specified name.static UserSessionsQuery.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SORT_BY_USERNAME
-
SORT_BY_USERNAME_DESC
-
SORT_BY_USER_SESSION_ID
-
SORT_BY_USER_SESSION_ID_DESC
-
SORT_BY_CREATED_AT
-
SORT_BY_CREATED_AT_DESC
-
SORT_BY_UPDATED_AT
-
SORT_BY_UPDATED_AT_DESC
-
SORT_BY_EXPIRES_AT
-
SORT_BY_EXPIRES_AT_DESC
-
SORT_BY_EXPIRED_AT
-
SORT_BY_EXPIRED_AT_DESC
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-