|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Severity>
org.jtools.info.Severity
public enum Severity
Defines some info severities.
Enum Constant Summary | |
---|---|
DEBUG
Indicates some (normal) info which should only appear in debug mode. |
|
ERROR
Indicates an erroneous situation. |
|
FATAL
Indicates a fatal situation on component level. |
|
INFO
Indicates some (normal) info. |
|
SYSTEM
Indicates a fatal situation on system level. |
|
VERBOSE
Indicates some (normal) info which should only appear in verbose mode. |
|
WARNING
Indicates a warning situation. |
Method Summary | ||
---|---|---|
abstract
|
accept(SeverityVisitor<T_Return,T_Data> visitor,
T_Data... data)
|
|
static Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
|
static Severity[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Severity SYSTEM
public static final Severity FATAL
public static final Severity ERROR
public static final Severity WARNING
public static final Severity INFO
public static final Severity VERBOSE
public static final Severity DEBUG
Method Detail |
---|
public static final Severity[] values()
for(Severity c : Severity.values()) System.out.println(c);
public static Severity valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic abstract <T_Return,T_Data> T_Return accept(SeverityVisitor<T_Return,T_Data> visitor, T_Data... data)
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |