|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MessageDBO.Severity>
com.buildforge.services.common.dbo.MessageDBO.Severity
public static enum MessageDBO.Severity
Identifies the severity of a message. The values here should be fairly self-explanatory.
Enum Constant Summary | |
---|---|
AUDIT
Indicates that this message reports activity by a user that may be of interest for auditing purposes. |
|
ERROR
Indicates that this message describes a significant error condition within the Build Forge system. |
|
INFO
Indicates that this message is information about the normal operation of the Build Forge system. |
|
WARNING
Indicates that this message describes a suspicious event that may or may not be relevant in determining the cause of a failure. |
Field Summary | |
---|---|
static java.lang.Class<MessageDBO.Severity> |
CLASS
|
char |
code
|
Method Summary | |
---|---|
static MessageDBO.Severity |
fromDB(char c)
|
static MessageDBO.Severity |
fromObject(java.lang.Object o)
|
static MessageDBO.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MessageDBO.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 |
---|
compareTo, equals, 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 MessageDBO.Severity ERROR
public static final MessageDBO.Severity WARNING
public static final MessageDBO.Severity INFO
public static final MessageDBO.Severity AUDIT
Field Detail |
---|
public static final java.lang.Class<MessageDBO.Severity> CLASS
public final char code
Method Detail |
---|
public static final MessageDBO.Severity[] values()
for(MessageDBO.Severity c : MessageDBO.Severity.values()) System.out.println(c);
public static MessageDBO.Severity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static MessageDBO.Severity fromDB(char c)
public static MessageDBO.Severity fromObject(java.lang.Object o) throws APIException
APIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |