Package jetbrains.buildServer.users
Enum UserModelEx.SORT_BY
- java.lang.Object
-
- java.lang.Enum<UserModelEx.SORT_BY>
-
- jetbrains.buildServer.users.UserModelEx.SORT_BY
-
- All Implemented Interfaces:
Serializable
,Comparable<UserModelEx.SORT_BY>
- Enclosing interface:
- UserModelEx
public static enum UserModelEx.SORT_BY extends Enum<UserModelEx.SORT_BY>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SORT_BY_ADMIN_STATUS
SORT_BY_EMAIL
SORT_BY_EMAIL_VERIFICATION_STATUS
SORT_BY_LAST_ACCESS_TIME
SORT_BY_NAME
SORT_BY_USERNAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserModelEx.SORT_BY
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserModelEx.SORT_BY[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SORT_BY_USERNAME
public static final UserModelEx.SORT_BY SORT_BY_USERNAME
-
SORT_BY_NAME
public static final UserModelEx.SORT_BY SORT_BY_NAME
-
SORT_BY_EMAIL
public static final UserModelEx.SORT_BY SORT_BY_EMAIL
-
SORT_BY_EMAIL_VERIFICATION_STATUS
public static final UserModelEx.SORT_BY SORT_BY_EMAIL_VERIFICATION_STATUS
-
SORT_BY_ADMIN_STATUS
public static final UserModelEx.SORT_BY SORT_BY_ADMIN_STATUS
-
SORT_BY_LAST_ACCESS_TIME
public static final UserModelEx.SORT_BY SORT_BY_LAST_ACCESS_TIME
-
-
Method Detail
-
values
public static UserModelEx.SORT_BY[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserModelEx.SORT_BY c : UserModelEx.SORT_BY.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserModelEx.SORT_BY valueOf(String name)
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
-
-