Enum DDM_LOG_LEVEL
- java.lang.Object
-
- java.lang.Enum<DDM_LOG_LEVEL>
-
- org.mases.datadistributionmanager.DDM_LOG_LEVEL
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DDM_LOG_LEVEL>
public enum DDM_LOG_LEVEL extends java.lang.Enum<DDM_LOG_LEVEL>
Log levels
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG_LEVEL
DebugERROR_LEVEL
ErrorFATAL_LEVEL
FatalINFO_LEVEL
InfoWARNING_LEVEL
Warning
-
Field Summary
Fields Modifier and Type Field Description int
atomicNumber
java.lang.String
label
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toIntString()
static DDM_LOG_LEVEL
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DDM_LOG_LEVEL
valueOfAtomicNumber(int number)
static DDM_LOG_LEVEL
valueOfLabel(java.lang.String label)
static DDM_LOG_LEVEL[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FATAL_LEVEL
public static final DDM_LOG_LEVEL FATAL_LEVEL
Fatal
-
ERROR_LEVEL
public static final DDM_LOG_LEVEL ERROR_LEVEL
Error
-
WARNING_LEVEL
public static final DDM_LOG_LEVEL WARNING_LEVEL
Warning
-
INFO_LEVEL
public static final DDM_LOG_LEVEL INFO_LEVEL
Info
-
DEBUG_LEVEL
public static final DDM_LOG_LEVEL DEBUG_LEVEL
Debug
-
-
Method Detail
-
values
public static DDM_LOG_LEVEL[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DDM_LOG_LEVEL c : DDM_LOG_LEVEL.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DDM_LOG_LEVEL valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOfLabel
public static DDM_LOG_LEVEL valueOfLabel(java.lang.String label)
-
valueOfAtomicNumber
public static DDM_LOG_LEVEL valueOfAtomicNumber(int number)
-
toIntString
public java.lang.String toIntString()
-
-