Enum Class IP2LocationEventLog.EventCategory
java.lang.Object
java.lang.Enum<IP2LocationEventLog.EventCategory>
co.mindus.ip2location.IP2LocationEventLog.EventCategory
- All Implemented Interfaces:
Serializable, Comparable<IP2LocationEventLog.EventCategory>, Constable
- Enclosing class:
IP2LocationEventLog
public static enum IP2LocationEventLog.EventCategory extends Enum<IP2LocationEventLog.EventCategory>
Event category for classification.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConfiguration changed.Database file corrupted.Database updated successfully.Database download completed.Database download failed.Database download started.Service initialization completed successfully.Service initialization failed.Service initialization started.IP lookup failed.Multiple consecutive lookup failures.Unspecified event.Recovery recommendation cleared.Recovery completed successfully.Recovery failed.Recovery recommended by system.Recovery process started.Service disabled.Service enabled.Service reconfigured.Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static IP2LocationEventLog.EventCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
INIT_STARTED
Service initialization started.INIT_COMPLETED
Service initialization completed successfully.INIT_FAILURE
Service initialization failed.DOWNLOAD_STARTED
Database download started.DOWNLOAD_COMPLETED
Database download completed.DOWNLOAD_FAILURE
Database download failed.DATABASE_CORRUPTION
Database file corrupted.DATABASE_UPDATED
Database updated successfully.LOOKUP_FAILURE
IP lookup failed.LOOKUP_THRESHOLD_EXCEEDED
Multiple consecutive lookup failures.RECOVERY_RECOMMENDED
Recovery recommended by system.RECOVERY_STARTED
Recovery process started.RECOVERY_COMPLETED
Recovery completed successfully.RECOVERY_FAILED
Recovery failed.RECOVERY_CLEARED
Recovery recommendation cleared.CONFIG_CHANGED
Configuration changed.SERVICE_RECONFIGURED
Service reconfigured.SERVICE_ENABLED
Service enabled.SERVICE_DISABLED
Service disabled.OTHER
Unspecified event.
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