Enum Class VerificationMails.Outcome
- All Implemented Interfaces:
Serializable, Comparable<VerificationMails.Outcome>, Constable
- Enclosing class:
VerificationMails
What became of the request.
- 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 account has no e-mail address.No link could be built: neither the client session nor the server configuration gives a base URL.No mail sender is configured, or it has no default sender address.The relay refused the mail or could not be reached, or the mail was not accepted for delivery.The relay accepted the mail (or has not answered within the bound: logged).The address is verified: nothing to send.Method Summary
Modifier and TypeMethodDescriptionstatic VerificationMails.OutcomeReturns the enum constant of this class with the specified name.static VerificationMails.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SENT
The relay accepted the mail (or has not answered within the bound: logged).VERIFIED
The address is verified: nothing to send.NO_ADDRESS
The account has no e-mail address.NO_RELAY
No mail sender is configured, or it has no default sender address.NO_LINK
No link could be built: neither the client session nor the server configuration gives a base URL.REFUSED
The relay refused the mail or could not be reached, or the mail was not accepted for delivery.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