|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FailureSeverity> edu.nrao.sss.validation.FailureSeverity
public enum FailureSeverity
An indication of how severe a ValidationFailure
is.
Version Info:
$Revision: 329 $ |
$Date: 2007-02-06 11:43:05 -0700 (Tue, 06 Feb 2007) $ |
$Author: dharland $ |
Enum Constant Summary | |
---|---|
CONCERN
A moderate severity level that might allow an application to proceed with little or no trouble. |
|
ERROR
A very high severity level that is likely to cause problems for an application. |
|
FATAL
A severity level so high that it could cause an application to abort. |
|
WARNING
A severity level that indicates a potentially harmful situation. |
Method Summary | |
---|---|
static FailureSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FailureSeverity[] |
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 FailureSeverity FATAL
public static final FailureSeverity ERROR
public static final FailureSeverity WARNING
public static final FailureSeverity CONCERN
Method Detail |
---|
public static FailureSeverity[] values()
for (FailureSeverity c : FailureSeverity.values()) System.out.println(c);
public static FailureSeverity 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |