Enum Class IP2LocationAdmin.Status.Indicator
java.lang.Object
java.lang.Enum<IP2LocationAdmin.Status.Indicator>
com.iizix.server.geo.ip2location.IP2LocationAdmin.Status.Indicator
- All Implemented Interfaces:
Serializable, Comparable<IP2LocationAdmin.Status.Indicator>, Constable
- Enclosing class:
IP2LocationAdmin.Status
public static enum IP2LocationAdmin.Status.Indicator extends Enum<IP2LocationAdmin.Status.Indicator>
The state of the recovery indicator, in the NetPhantom page's order of precedence.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe switch is off: "Service disabled" (gray).The last download failed (yellow),IP2LocationAdmin.Status.lastDownloadError()says why.Everything is fine: "Service OK" (green).A recovery is recommended (yellow).A recovery or a download is running: "Please wait..." (cyan).Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static IP2LocationAdmin.Status.Indicator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
DISABLED
The switch is off: "Service disabled" (gray).WORKING
A recovery or a download is running: "Please wait..." (cyan).RECOVERY_RECOMMENDED
A recovery is recommended (yellow).DOWNLOAD_FAILED
The last download failed (yellow),IP2LocationAdmin.Status.lastDownloadError()says why.OK
Everything is fine: "Service OK" (green).
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