Enum Class JSentinelNotification.Kind
java.lang.Object
java.lang.Enum<JSentinelNotification.Kind>
com.svenruppert.jsentinel.accountlifecycle.JSentinelNotification.Kind
- All Implemented Interfaces:
Serializable, Comparable<JSentinelNotification.Kind>, Constable
- Enclosing class:
JSentinelNotification
Notification category — one per lifecycle hook.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn email-verification token was issued; deliver the plain token.An email-verification token was consumed; confirm the verification.A password-reset token was consumed; confirm the change.A password-reset token was issued; deliver the plain token. -
Method Summary
Modifier and TypeMethodDescriptionstatic JSentinelNotification.KindReturns the enum constant of this class with the specified name.static JSentinelNotification.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PASSWORD_RESET_REQUESTED
A password-reset token was issued; deliver the plain token. -
PASSWORD_RESET_COMPLETED
A password-reset token was consumed; confirm the change. -
EMAIL_VERIFICATION_REQUESTED
An email-verification token was issued; deliver the plain token. -
EMAIL_VERIFIED
An email-verification token was consumed; confirm the verification.
-
-
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
-