org.apache.directory.api.ldap.model.constants
Enum Loggers
java.lang.Object
java.lang.Enum<Loggers>
org.apache.directory.api.ldap.model.constants.Loggers
- All Implemented Interfaces:
- Serializable, Comparable<Loggers>
public enum Loggers
- extends Enum<Loggers>
An enum defining a list of dedicated loggers, used for debugging
purpose :
- ACI_LOG
- (more to come)
- Author:
- Apache Directory Project
|
Enum Constant Summary |
ACI_LOG
The dedicated logger for ACIs |
|
Method Summary |
String |
getName()
|
static Loggers |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Loggers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
ACI_LOG
public static final Loggers ACI_LOG
- The dedicated logger for ACIs
values
public static Loggers[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Loggers c : Loggers.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Loggers valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getName
public String getName()
- Returns:
- the name associated with the constant.
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.