Enum Class AdministratorAccess.EmailOutcome
java.lang.Object
java.lang.Enum<AdministratorAccess.EmailOutcome>
com.iizix.server.user.AdministratorAccess.EmailOutcome
- All Implemented Interfaces:
Serializable, Comparable<AdministratorAccess.EmailOutcome>, Constable
- Enclosing class:
AdministratorAccess
What became of a real e-mail address an administrator entered (
AdministratorAccess.setRealEmail(IAuthenticatedUser, String)).- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe database failed (logged).The address has not the form of an address, or is in the seeded domain (AdministratorAccess.isSeededEmail(String)).The user needs no address: no administrator, or one with a real address already.The address is set, not verified yet.Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AdministratorAccess.EmailOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SET
The address is set, not verified yet.INVALID
The address has not the form of an address, or is in the seeded domain (AdministratorAccess.isSeededEmail(String)).NOT_REQUIRED
The user needs no address: no administrator, or one with a real address already.FAILED
The database failed (logged).
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