public enum SeverityLevel extends java.lang.Enum<SeverityLevel>
Severity level for a check violation.
Each violation of an audit check is assigned one of the severity levels defined here.
Enum Constant and Description |
---|
ERROR
Severity level error.
|
IGNORE
Severity level ignore.
|
INFO
Severity level info.
|
WARNING
Severity level warning.
|
Modifier and Type | Method and Description |
---|---|
static SeverityLevel |
getInstance(java.lang.String securityLevelName)
SeverityLevel factory method.
|
java.lang.String |
getName()
Returns name of severity level.
|
java.lang.String |
toString() |
static SeverityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SeverityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityLevel IGNORE
public static final SeverityLevel INFO
public static final SeverityLevel WARNING
public static final SeverityLevel ERROR
public static SeverityLevel[] values()
for (SeverityLevel c : SeverityLevel.values()) System.out.println(c);
public static SeverityLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<SeverityLevel>
public java.lang.String getName()
public static SeverityLevel getInstance(java.lang.String securityLevelName)
securityLevelName
- level name, such as "ignore", "info", etc.SeverityLevel
associated with securityLevelName