public static enum CollectedError.Level extends Enum<CollectedError.Level>
Note: the ordinal of this enumeration constant (its position in its enum declaration) is significant as it is used to compare levels.
Enum Constant and Description |
---|
ERROR
For normal non-fatal errors reported by the underlying process.
|
FATAL
Error was considered fatal by the underlying process.
|
WARNING
Warning reported by the underlying process.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CollectedError.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectedError.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectedError.Level WARNING
public static final CollectedError.Level ERROR
public static final CollectedError.Level FATAL
public static CollectedError.Level[] values()
for (CollectedError.Level c : CollectedError.Level.values()) System.out.println(c);
public static CollectedError.Level 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 String toString()
toString
in class Enum<CollectedError.Level>
Copyright © 2016 Allette Systems. All rights reserved.