Enum Class AccountNotices.Outcome
- All Implemented Interfaces:
Serializable, Comparable<AccountNotices.Outcome>, Constable
- Enclosing class:
AccountNotices
What became of a notice.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe mail could not be composed or delivered (logged).The user has no e-mail address.No mail sender is configured.The delivery step did not accept the mail.The user turned the notices off, and the kind is not critical.The address is the placeholder the server's database was created with (AdministratorAccess.isSeededEmail(String)), or not an address: nothing is there to deliver to, so the notice is dropped with one INFO line (MDV-D-34).Handed to the delivery step, which accepted it.Method Summary
Modifier and TypeMethodDescriptionstatic AccountNotices.OutcomeReturns the enum constant of this class with the specified name.static AccountNotices.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SENT
Handed to the delivery step, which accepted it.OPTED_OUT
The user turned the notices off, and the kind is not critical.NO_ADDRESS
The user has no e-mail address.PLACEHOLDER_ADDRESS
The address is the placeholder the server's database was created with (AdministratorAccess.isSeededEmail(String)), or not an address: nothing is there to deliver to, so the notice is dropped with one INFO line (MDV-D-34).NO_SENDER
No mail sender is configured.NOT_ACCEPTED
The delivery step did not accept the mail.FAILED
The mail could not be composed or delivered (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