Enum Class AccountNotices.By
- All Implemented Interfaces:
Serializable, Comparable<AccountNotices.By>, Constable
- Enclosing class:
AccountNotices
Who made the change.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn administrator, in ServerAdmin.The user, by the confirmation link mailed to the new address of a change of address.A password reset link, used by whoever held it.The user, in a signed-in session.Method Summary
Modifier and TypeMethodDescriptionstatic AccountNotices.ByReturns the enum constant of this class with the specified name.static AccountNotices.By[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
USER
The user, in a signed-in session.ADMINISTRATOR
An administrator, in ServerAdmin.RESET_LINK
A password reset link, used by whoever held it.CONFIRMATION_LINK
The user, by the confirmation link mailed to the new address of a change of address.
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