public enum OperaSeverity extends Enum<OperaSeverity>
| Enum Constant and Description |
|---|
CRITICAL |
DEBUG |
ERROR |
INFORMATION |
VERBOSE |
| Modifier and Type | Method and Description |
|---|---|
static OperaSeverity |
get(String name) |
Level |
toLevel() |
String |
toString() |
static OperaSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperaSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperaSeverity DEBUG
public static final OperaSeverity VERBOSE
public static final OperaSeverity INFORMATION
public static final OperaSeverity ERROR
public static final OperaSeverity CRITICAL
public static OperaSeverity[] values()
for (OperaSeverity c : OperaSeverity.values()) System.out.println(c);
public static OperaSeverity 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 Level toLevel()
public String toString()
toString in class Enum<OperaSeverity>public static OperaSeverity get(String name)
Copyright © 2013. All Rights Reserved.