Enum ETLogAnnotation.Severity
- java.lang.Object
-
- java.lang.Enum<ETLogAnnotation.Severity>
-
- de.tracetronic.jenkins.plugins.ecutest.report.log.ETLogAnnotation.Severity
-
- All Implemented Interfaces:
Serializable
,Comparable<ETLogAnnotation.Severity>
- Enclosing class:
- ETLogAnnotation
public static enum ETLogAnnotation.Severity extends Enum<ETLogAnnotation.Severity>
Defines the severities for a log message.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG
Severity indicating this log message contains debug information.ERROR
Severity indication this log message represents an error.INFO
Severity indicating this log message is informational only.WARNING
Severity indicating this log message represents a warning.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ETLogAnnotation.Severity
valueOf(String name)
Returns the enum constant of this type with the specified name.static ETLogAnnotation.Severity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final ETLogAnnotation.Severity INFO
Severity indicating this log message is informational only.
-
DEBUG
public static final ETLogAnnotation.Severity DEBUG
Severity indicating this log message contains debug information.
-
WARNING
public static final ETLogAnnotation.Severity WARNING
Severity indicating this log message represents a warning.
-
ERROR
public static final ETLogAnnotation.Severity ERROR
Severity indication this log message represents an error.
-
-
Method Detail
-
values
public static ETLogAnnotation.Severity[] 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 (ETLogAnnotation.Severity c : ETLogAnnotation.Severity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ETLogAnnotation.Severity valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-