Package org.ametys.web.usermanagement
Enum Class UserSignupManager.TempUser.TempUserOrigin
java.lang.Object
java.lang.Enum<UserSignupManager.TempUser.TempUserOrigin>
org.ametys.web.usermanagement.UserSignupManager.TempUser.TempUserOrigin
- All Implemented Interfaces:
Serializable
,Comparable<UserSignupManager.TempUser.TempUserOrigin>
,java.lang.constant.Constable
- Enclosing class:
- UserSignupManager.TempUser
public static enum UserSignupManager.TempUser.TempUserOrigin
extends Enum<UserSignupManager.TempUser.TempUserOrigin>
Enumeration for temporary user origin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhen the signup request comes from an invitationWhen the origin of signup request is unknownWhen the signup request is an user request -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVITATION
When the signup request comes from an invitation -
USER_REQUEST
When the signup request is an user request -
UNKNWON
When the origin of signup request is unknown
-
-
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
-