@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AuditSeverity extends java.lang.Enum<AuditSeverity>
Enum Constant and Description |
---|
ERROR
A severity level indicating a significant problem.
|
NOTICE
A security level indicating something that may be important for
administrators to see.
|
VERBOSE
A security level indicating something that may not be important in most
cases and may only be exposed for debugging purposes.
|
WARNING
A security level indicating a warning.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
getReportEntryAttribute()
Retrieves an attribute that may be used to represent this severity in
report entries.
|
boolean |
includes(AuditSeverity s)
Indicates whether an item with the given severity should be handled by
something configured to report on items with this severity.
|
static AuditSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuditSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditSeverity ERROR
public static final AuditSeverity WARNING
public static final AuditSeverity NOTICE
public static final AuditSeverity VERBOSE
public static AuditSeverity[] values()
for (AuditSeverity c : AuditSeverity.values()) System.out.println(c);
public static AuditSeverity 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 Attribute getReportEntryAttribute()
public boolean includes(AuditSeverity s)
s
- The severity for which to make the determination.true
if an item with the given severity should be handled
by something configured to report on items with this severity, or
false
if not.