public enum AuditLogSeverity extends Enum<AuditLogSeverity>
Modifier and Type | Method and Description |
---|---|
static AuditLogSeverity |
forValue(int value) |
int |
getValue() |
static AuditLogSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuditLogSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditLogSeverity NORMAL
public static final AuditLogSeverity WARNING
public static final AuditLogSeverity ERROR
public static final AuditLogSeverity ALERT
public static AuditLogSeverity[] values()
for (AuditLogSeverity c : AuditLogSeverity.values()) System.out.println(c);
public static AuditLogSeverity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static AuditLogSeverity forValue(int value)
Copyright © 2012. All Rights Reserved.