Enum UserAttributeSort.UserAttribute
- java.lang.Object
-
- java.lang.Enum<UserAttributeSort.UserAttribute>
-
- com.atlassian.confluence.search.v2.sort.UserAttributeSort.UserAttribute
-
- All Implemented Interfaces:
Serializable
,Comparable<UserAttributeSort.UserAttribute>
- Enclosing class:
- UserAttributeSort
public static enum UserAttributeSort.UserAttribute extends Enum<UserAttributeSort.UserAttribute>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserAttributeSort.UserAttribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserAttributeSort.UserAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USERKEY
public static final UserAttributeSort.UserAttribute USERKEY
-
USERNAME
public static final UserAttributeSort.UserAttribute USERNAME
-
FULLNAME
public static final UserAttributeSort.UserAttribute FULLNAME
-
EMAIL
public static final UserAttributeSort.UserAttribute EMAIL
-
-
Method Detail
-
values
public static UserAttributeSort.UserAttribute[] 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 (UserAttributeSort.UserAttribute c : UserAttributeSort.UserAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserAttributeSort.UserAttribute 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
-
-