Enum Class EventLogManager.EventType
- All Implemented Interfaces:
Serializable, Comparable<EventLogManager.EventType>, Constable
- Enclosing class:
EventLogManager
Types of events that can be logged.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMethod Summary
Modifier and TypeMethodDescriptionReturns a human-readable description.static EventLogManager.EventTypeReturns the enum constant of this class with the specified name.static EventLogManager.EventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SERVICE_STARTED
SERVICE_STOPPED
SERVICE_CONFIGURED
SERVICE_RECONFIGURED
DOWNLOAD_STARTED
DOWNLOAD_COMPLETED
DOWNLOAD_FAILED
DATABASE_LOADED
DATABASE_UPDATED
DATABASE_CORRUPT
DATABASE_LOOKUP_ERROR
RECOVERY_RECOMMENDED
RECOVERY_STARTED
RECOVERY_COMPLETED
RECOVERY_FAILED
RECOVERY_CLEARED
INIT_FAILURE
NETWORK_ERROR
TOKEN_ERROR
FILE_ERROR
INFO
WARNING
ERROR
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
getDescription
Returns a human-readable description.