Enum Class IP2LocationAdminConfig.RecoveryMode

java.lang.Object
java.lang.Enum<IP2LocationAdminConfig.RecoveryMode>
com.iizix.server.geo.ip2location.IP2LocationAdminConfig.RecoveryMode
All Implemented Interfaces:
Serializable, Comparable<IP2LocationAdminConfig.RecoveryMode>, Constable
Enclosing class:
IP2LocationAdminConfig

public static enum IP2LocationAdminConfig.RecoveryMode extends Enum<IP2LocationAdminConfig.RecoveryMode>
The recovery action when the error thresholds are exceeded, the three radio buttons of the Recovery Settings dialog; one to one with RecoveryConfig.RecoveryAction.
Author:
Christopher Mindus
  • Enum Constant Details

  • Method Details

    • values

      public static IP2LocationAdminConfig.RecoveryMode[] 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 IP2LocationAdminConfig.RecoveryMode 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
    • fromName

      public static IP2LocationAdminConfig.RecoveryMode fromName(String name)
      Gets the mode of a name, leniently.
      Parameters:
      name - The enum name, or null.
      Returns:
      The mode, NOTIFY_ONLY for null, an empty or an unknown name.