public enum AuditLevel extends Enum<AuditLevel>
| Modifier and Type | Method and Description |
|---|---|
static AuditLevel |
forName(String name) |
static AuditLevel |
forValue(int value) |
String |
getAlignedText() |
int |
getValue() |
static AuditLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuditLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditLevel ERROR
public static final AuditLevel WARN
public static final AuditLevel INFO
public static final AuditLevel DEBUG
public static AuditLevel[] values()
for (AuditLevel c : AuditLevel.values()) System.out.println(c);
public static AuditLevel 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 AuditLevel forName(String name)
public static AuditLevel forValue(int value)
public String getAlignedText()
Copyright © 2022. All rights reserved.