Package nl.paston.apollon.model
Enum Validation.Level
- java.lang.Object
-
- java.lang.Enum<Validation.Level>
-
- nl.paston.apollon.model.Validation.Level
-
- All Implemented Interfaces:
Serializable,Comparable<Validation.Level>
- Enclosing class:
- Validation
public static enum Validation.Level extends Enum<Validation.Level>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Validation.LevelvalueOf(String name)Returns the enum constant of this type with the specified name.static Validation.Level[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUDIT
public static final Validation.Level AUDIT
-
INFO
public static final Validation.Level INFO
-
WARN
public static final Validation.Level WARN
-
ERROR
public static final Validation.Level ERROR
-
-
Method Detail
-
values
public static Validation.Level[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Validation.Level c : Validation.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Validation.Level valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-