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