Enum Logger.MessageLevel
- java.lang.Object
-
- java.lang.Enum<Logger.MessageLevel>
-
- org.processmining.framework.plugin.events.Logger.MessageLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Logger.MessageLevel>
- Enclosing interface:
- Logger
public static enum Logger.MessageLevel extends java.lang.Enum<Logger.MessageLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG
All DEBUG messages are omitted in the release version.ERROR
Error message level, for error information during ruintime.NORMAL
Normal message level, for information during runtimeTEST
All TEST messages are omitted in the release version.WARNING
Warning message level, for warning messages during runtime
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLongName()
java.lang.String
getShortName()
static Logger.MessageLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Logger.MessageLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final Logger.MessageLevel NORMAL
Normal message level, for information during runtime
-
WARNING
public static final Logger.MessageLevel WARNING
Warning message level, for warning messages during runtime
-
ERROR
public static final Logger.MessageLevel ERROR
Error message level, for error information during ruintime. Use in case error can be recovered from, i.e. not in case of exception handling.
-
TEST
public static final Logger.MessageLevel TEST
All TEST messages are omitted in the release version.
-
DEBUG
public static final Logger.MessageLevel DEBUG
All DEBUG messages are omitted in the release version.
-
-
Method Detail
-
values
public static Logger.MessageLevel[] 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 (Logger.MessageLevel c : Logger.MessageLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Logger.MessageLevel 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
-
getShortName
public java.lang.String getShortName()
-
getLongName
public java.lang.String getLongName()
-
-