public static enum Problem.Severity extends Enum<Problem.Severity>
Modifier and Type | Method and Description |
---|---|
static Problem.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Problem.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Problem.Severity FATAL
public static final Problem.Severity ERROR
public static final Problem.Severity WARNING
public static Problem.Severity[] values()
for (Problem.Severity c : Problem.Severity.values()) System.out.println(c);
public static Problem.Severity 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 nullCopyright © 2001–2019 The Apache Software Foundation. All rights reserved.