|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Category>
org.opends.messages.Category
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum Category
Defines values for message categories which are loosly based on server components. Categories contain an in value that can be used as a mask for bitwise operations.
Enum Constant Summary | |
---|---|
ACCESS_CONTROL
The category used for messages associated with Access Control. |
|
ADMIN
The category used for messages associated with the administration framework. |
|
ADMIN_TOOL
The category used for messages associated with the tool like the offline installer and unintaller. |
|
BACKEND
The category used for messages associated with generic backends. |
|
CONFIG
The category that will be used for messages associated with configuration handling. |
|
CORE
The category that will be used for messages associated with the core server. |
|
DSCONFIG
The category used for messages associated with the dsconfig administration tool. |
|
EXTENSIONS
The category that will be used for messages associated with server extensions (e.g., extended operations, SASL mechanisms, password storage schemes, password validators, etc.). |
|
JEB
The category used for messages associated with the JE backend. |
|
LOG
The category that will be used for messages associated with the server loggers. |
|
PLUGIN
The category that will be used for messages associated with plugin processing. |
|
PROTOCOL
The category that will be used for messages associated with connection and protocol handling (e.g., ASN.1 and LDAP). |
|
QUICKSETUP
The category used for messages associated with quicksetup tools. |
|
RUNTIME_INFORMATION
The category used for messages associated with the runtime information. |
|
SCHEMA
The category that will be used for messages associated with the server schema elements. |
|
SYNC
The category used for messages associated with the Synchronization. |
|
TASK
The category used for messages associated with tasks. |
|
THIRD_PARTY
The category that will be used for messages associated with third-party (including user-defined) modules. |
|
TOOLS
The category used for messages associated with tools. |
|
USER_DEFINED
The category that will be used for messages associated with user-defined modules. |
|
UTIL
The category that will be used for messages associated with the general server utilities. |
|
VERSION
The category used for messages associated with version information. |
Method Summary | |
---|---|
int |
getMask()
Gets the mask value associated with this category. |
static Category |
parseMask(int mask)
Obtains the Severity associated with a given mask
value. |
static Category |
parseMessageId(int msgId)
Obtains the Severity associated with the the input
message ID msgId . |
static Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Category[] |
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 Category CORE
public static final Category EXTENSIONS
public static final Category PROTOCOL
public static final Category CONFIG
public static final Category LOG
public static final Category UTIL
public static final Category SCHEMA
public static final Category PLUGIN
public static final Category JEB
public static final Category BACKEND
public static final Category TOOLS
public static final Category TASK
public static final Category ACCESS_CONTROL
public static final Category ADMIN
public static final Category SYNC
public static final Category VERSION
public static final Category QUICKSETUP
public static final Category ADMIN_TOOL
public static final Category DSCONFIG
public static final Category RUNTIME_INFORMATION
public static final Category THIRD_PARTY
public static final Category USER_DEFINED
Method Detail |
---|
public static Category[] values()
for (Category c : Category.values()) System.out.println(c);
public static Category 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 name
java.lang.NullPointerException
- if the argument is nullpublic static Category parseMessageId(int msgId)
Severity
associated with the the input
message ID msgId
.
msgId
- int message ID
public static Category parseMask(int mask)
Severity
associated with a given mask
value.
mask
- for which a Severity
is obtained.
mask
public int getMask()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |