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