Package com.atlassian.bitbucket.user
Enum Class UserType
- All Implemented Interfaces:
Serializable,Comparable<UserType>,Constable
The type of
user-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription'Normal' users are backed by a user from a Crowd directory and are capable of authenticating via the UI or REST provided they are licensed to do so.'Service' users are not backed by a user from a Crowd directory and are not able to authenticate via the UI or REST. -
Method Summary
-
Enum Constant Details
-
NORMAL
'Normal' users are backed by a user from a Crowd directory and are capable of authenticating via the UI or REST provided they are licensed to do so. -
SERVICE
'Service' users are not backed by a user from a Crowd directory and are not able to authenticate via the UI or REST. Service users can be used to programmatically perform tasks which require an associated user and do not count towards the licensed user count.
-
-
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
-