Package com.google.gerrit.server.account
Enum Class AccountDirectory.FillOptions
java.lang.Object
java.lang.Enum<AccountDirectory.FillOptions>
com.google.gerrit.server.account.AccountDirectory.FillOptions
- All Implemented Interfaces:
Serializable
,Comparable<AccountDirectory.FillOptions>
,java.lang.constant.Constable
- Enclosing class:
- AccountDirectory
Fields to be populated for SSH or REST API response.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUser profile images.Human friendly display name presented in the web interface chosen by the user.Preferred email address to contact the user at.Numeric account ID, may be deprecated.Full name or username.All secondary email addresses of the user.The state of the account (e.g.The user-settable status of this account (e.g.Tags such as weather the account is a service user.Unique user identity to login to Gerrit, may be deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountDirectory.FillOptions
Returns the enum constant of this class with the specified name.static AccountDirectory.FillOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
Full name or username. -
EMAIL
Preferred email address to contact the user at. -
SECONDARY_EMAILS
All secondary email addresses of the user. -
AVATARS
User profile images. -
USERNAME
Unique user identity to login to Gerrit, may be deprecated. -
ID
Numeric account ID, may be deprecated. -
STATUS
The user-settable status of this account (e.g. busy, OOO, available) -
STATE
The state of the account (e.g. active or inactive) -
DISPLAY_NAME
Human friendly display name presented in the web interface chosen by the user. -
TAGS
Tags such as weather the account is a service user.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-