public enum ErrorLevel extends Enum<ErrorLevel>
Enum Constant and Description |
---|
ERROR |
INAPPLICABLE |
NOCONSTRAINT |
OK |
WARN |
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
static ErrorLevel |
max(ErrorLevel e1,
ErrorLevel e2) |
static ErrorLevel |
min(ErrorLevel e1,
ErrorLevel e2) |
static ErrorLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorLevel NOCONSTRAINT
public static final ErrorLevel INAPPLICABLE
public static final ErrorLevel OK
public static final ErrorLevel WARN
public static final ErrorLevel ERROR
public static ErrorLevel[] values()
for (ErrorLevel c : ErrorLevel.values()) System.out.println(c);
public static ErrorLevel 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 int getLevel()
public static ErrorLevel min(ErrorLevel e1, ErrorLevel e2)
public static ErrorLevel max(ErrorLevel e1, ErrorLevel e2)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.