Enum EditGroupBean.SORT_OPTION
- java.lang.Object
-
- java.lang.Enum<EditGroupBean.SORT_OPTION>
-
- jetbrains.buildServer.controllers.admin.groups.EditGroupBean.SORT_OPTION
-
- All Implemented Interfaces:
Serializable
,Comparable<EditGroupBean.SORT_OPTION>
- Enclosing class:
- EditGroupBean
public static enum EditGroupBean.SORT_OPTION extends Enum<EditGroupBean.SORT_OPTION>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SORT_BY_EMAIL
SORT_BY_NAME
SORT_BY_USERNAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EditGroupBean.SORT_OPTION
valueOf(String name)
Returns the enum constant of this type with the specified name.static EditGroupBean.SORT_OPTION[]
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 EditGroupBean.SORT_OPTION SORT_BY_USERNAME
-
SORT_BY_NAME
public static final EditGroupBean.SORT_OPTION SORT_BY_NAME
-
SORT_BY_EMAIL
public static final EditGroupBean.SORT_OPTION SORT_BY_EMAIL
-
-
Method Detail
-
values
public static EditGroupBean.SORT_OPTION[] 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 (EditGroupBean.SORT_OPTION c : EditGroupBean.SORT_OPTION.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EditGroupBean.SORT_OPTION 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
-
-