|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DebugType>
com.unboundid.util.DebugType
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum DebugType
This enumeration defines a set of debugging types that are used by the LDAP SDK.
Enum Constant Summary | |
---|---|
ASN1
The debug type that will be used for debugging information about ASN.1 elements written to or read from a directory server. |
|
CODING_ERROR
The debug type that will be used for information about coding errors or other types of incorrect uses of the LDAP SDK. |
|
CONNECT
The debug type that will be used for debugging information about connection establishment and termination. |
|
EXCEPTION
The debug type that will be used for debugging information about exceptions that are caught. |
|
LDAP
The debug type that will be used for debugging information about LDAP requests sent to or received from a directory server. |
|
LDIF
The debug type that will be used for debugging information about LDIF entries or change records read or written. |
|
MONITOR
The debug type that will be used for information about monitor entry parsing. |
|
OTHER
The debug type that will be used for debug messages not applicable to any of the other categories. |
Method Summary | |
---|---|
static DebugType |
forName(java.lang.String name)
Retrieves the debug type with the specified name. |
java.lang.String |
getName()
Retrieves the name for this debug type. |
static java.lang.String |
getTypeNameList()
Retrieves a comma-delimited list of the defined debug type names. |
java.lang.String |
toString()
Retrieves a string representation of this debug type. |
static DebugType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DebugType[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DebugType ASN1
public static final DebugType CONNECT
public static final DebugType EXCEPTION
public static final DebugType LDAP
public static final DebugType LDIF
public static final DebugType MONITOR
public static final DebugType CODING_ERROR
public static final DebugType OTHER
Method Detail |
---|
public static DebugType[] values()
for (DebugType c : DebugType.values()) System.out.println(c);
public static DebugType 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 java.lang.String getName()
public static DebugType forName(java.lang.String name)
name
- The name of the debug type to retrieve.
null
if there is no such
debug type.public static java.lang.String getTypeNameList()
public java.lang.String toString()
toString
in class java.lang.Enum<DebugType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |