Enum LockoutInterval

    • Enum Constant Detail

      • FifteenMinutes

        public static final LockoutInterval FifteenMinutes
        Enumeration : FifteenMinutes
      • ThirtyMinutes

        public static final LockoutInterval ThirtyMinutes
        Enumeration : ThirtyMinutes
      • SixtyMinutes

        public static final LockoutInterval SixtyMinutes
        Enumeration : SixtyMinutes
      • Forever

        public static final LockoutInterval Forever
        Enumeration : Forever
    • Method Detail

      • values

        public static LockoutInterval[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LockoutInterval c : LockoutInterval.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LockoutInterval valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null