Package com.google.gerrit.server.account
Enum AccountDirectory.FillOptions
- java.lang.Object
-
- java.lang.Enum<AccountDirectory.FillOptions>
-
- com.google.gerrit.server.account.AccountDirectory.FillOptions
-
- All Implemented Interfaces:
Serializable
,Comparable<AccountDirectory.FillOptions>
- Enclosing class:
- AccountDirectory
public static enum AccountDirectory.FillOptions extends Enum<AccountDirectory.FillOptions>
Fields to be populated for SSH or REST API response.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVATARS
User profile images.DISPLAY_NAME
Human friendly display name presented in the web interface chosen by the user.EMAIL
Preferred email address to contact the user at.ID
Numeric account ID, may be deprecated.NAME
Full name or username.SECONDARY_EMAILS
All secondary email addresses of the user.STATE
The state of the account (e.g.STATUS
The user-settable status of this account (e.g.TAGS
Tags such as weather the account is a service user.USERNAME
Unique user identity to login to Gerrit, may be deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccountDirectory.FillOptions
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccountDirectory.FillOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final AccountDirectory.FillOptions NAME
Full name or username.
-
EMAIL
public static final AccountDirectory.FillOptions EMAIL
Preferred email address to contact the user at.
-
SECONDARY_EMAILS
public static final AccountDirectory.FillOptions SECONDARY_EMAILS
All secondary email addresses of the user.
-
AVATARS
public static final AccountDirectory.FillOptions AVATARS
User profile images.
-
USERNAME
public static final AccountDirectory.FillOptions USERNAME
Unique user identity to login to Gerrit, may be deprecated.
-
ID
public static final AccountDirectory.FillOptions ID
Numeric account ID, may be deprecated.
-
STATUS
public static final AccountDirectory.FillOptions STATUS
The user-settable status of this account (e.g. busy, OOO, available)
-
STATE
public static final AccountDirectory.FillOptions STATE
The state of the account (e.g. active or inactive)
-
DISPLAY_NAME
public static final AccountDirectory.FillOptions DISPLAY_NAME
Human friendly display name presented in the web interface chosen by the user.
-
TAGS
public static final AccountDirectory.FillOptions TAGS
Tags such as weather the account is a service user.
-
-
Method Detail
-
values
public static AccountDirectory.FillOptions[] 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 (AccountDirectory.FillOptions c : AccountDirectory.FillOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountDirectory.FillOptions 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
-
-