public enum ResultLevel extends java.lang.Enum<ResultLevel>
postMessage
methods
of the Result
object.
See the
ScriptEnvironment
interface for general background information about this API.
Enum Constant and Description |
---|
ERROR |
INFO |
STATISTICS |
VERBOSE |
Modifier and Type | Method and Description |
---|---|
static ResultLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultLevel ERROR
public static final ResultLevel INFO
public static final ResultLevel STATISTICS
public static final ResultLevel VERBOSE
public static ResultLevel[] values()
for (ResultLevel c : ResultLevel.values()) System.out.println(c);
public static ResultLevel 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 null