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

public static enum JSentinelNotification.Kind extends Enum<JSentinelNotification.Kind>
Notification category — one per lifecycle hook.
  • Enum Constant Details

    • PASSWORD_RESET_REQUESTED

      public static final JSentinelNotification.Kind PASSWORD_RESET_REQUESTED
      A password-reset token was issued; deliver the plain token.
    • PASSWORD_RESET_COMPLETED

      public static final JSentinelNotification.Kind PASSWORD_RESET_COMPLETED
      A password-reset token was consumed; confirm the change.
    • EMAIL_VERIFICATION_REQUESTED

      public static final JSentinelNotification.Kind EMAIL_VERIFICATION_REQUESTED
      An email-verification token was issued; deliver the plain token.
    • EMAIL_VERIFIED

      public static final JSentinelNotification.Kind EMAIL_VERIFIED
      An email-verification token was consumed; confirm the verification.
  • Method Details

    • values

      public static JSentinelNotification.Kind[] 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

      public static JSentinelNotification.Kind valueOf(String name)
      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 name
      NullPointerException - if the argument is null