|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NuitonValidatorScope>
org.nuiton.validator.NuitonValidatorScope
public enum NuitonValidatorScope
The differents levels of messages in validation process.
The order of the enum defines the severity of validation. Always begin with fatal, then error, then if no error found, try warning, then info...
| Enum Constant Summary | |
|---|---|
ERROR
the error scope level. |
|
FATAL
the fatal error scope level. |
|
INFO
the information scope level. |
|
WARNING
the warning scope level. |
|
| Method Summary | |
|---|---|
String |
getLabel()
|
static NuitonValidatorScope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NuitonValidatorScope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NuitonValidatorScope FATAL
public static final NuitonValidatorScope ERROR
public static final NuitonValidatorScope WARNING
public static final NuitonValidatorScope INFO
| Method Detail |
|---|
public static NuitonValidatorScope[] values()
for (NuitonValidatorScope c : NuitonValidatorScope.values()) System.out.println(c);
public static NuitonValidatorScope valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getLabel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||