Enum Class DebugLevel
- All Implemented Interfaces:
Serializable
,Comparable<DebugLevel>
,Constable
Used to outline the various debugging levels that could be utilized within the logging layer.
- Since:
- 0.1.2.0
- Author:
- creatorfromhell
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionboolean
compare
(DebugLevel compare) static DebugLevel
byte
void
setIdentifier
(String identifier) void
setPriority
(byte priority) static DebugLevel
Returns the enum constant of this class with the specified name.static DebugLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OFF
Off debug level. This disables debug mode. -
STANDARD
Standard debug level. This should include any inform calls and any error calls containing exceptions. -
DETAILED
Detailed debug level. This should contain more detailed error calls and debug calls. -
DEVELOPER
Developer debug level. This should contain all calls.
-
-
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
-
compare
-
getPriority
-
setPriority
-
getIdentifier
-
fromID
-
setIdentifier
-