Package net.sourceforge.pmd.util.log
Enum MessageReporter.Level
- java.lang.Object
-
- java.lang.Enum<MessageReporter.Level>
-
- net.sourceforge.pmd.util.log.MessageReporter.Level
-
- All Implemented Interfaces:
Serializable
,Comparable<MessageReporter.Level>
- Enclosing interface:
- MessageReporter
@Deprecated public static enum MessageReporter.Level extends Enum<MessageReporter.Level>
Deprecated.Will be replaced with SLF4J Level in PMD 7Message severity level. This maps to SLF4J levels transparently.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Level
toJutilLevel()
Deprecated.static MessageReporter.Level
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static MessageReporter.Level[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final MessageReporter.Level ERROR
Deprecated.
-
WARN
public static final MessageReporter.Level WARN
Deprecated.
-
INFO
public static final MessageReporter.Level INFO
Deprecated.
-
DEBUG
public static final MessageReporter.Level DEBUG
Deprecated.
-
TRACE
public static final MessageReporter.Level TRACE
Deprecated.
-
-
Method Detail
-
values
public static MessageReporter.Level[] values()
Deprecated.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 (MessageReporter.Level c : MessageReporter.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 MessageReporter.Level valueOf(String name)
Deprecated.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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toJutilLevel
public Level toJutilLevel()
Deprecated.
-
-