org.opends.server.admin.std.meta
Enum DebugTargetCfgDefn.DebugLevel

java.lang.Object
  extended by java.lang.Enum<DebugTargetCfgDefn.DebugLevel>
      extended by org.opends.server.admin.std.meta.DebugTargetCfgDefn.DebugLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DebugTargetCfgDefn.DebugLevel>
Enclosing class:
DebugTargetCfgDefn

public static enum DebugTargetCfgDefn.DebugLevel
extends java.lang.Enum<DebugTargetCfgDefn.DebugLevel>

Defines the set of permissable values for the "debug-level" property.

Specifies the lowest severity level of debug messages to log.


Enum Constant Summary
ALL
          Messages with any severity level are logged.
DISABLED
          No messages are logged.
ERROR
          Messages with severity level of ERROR or higher are logged.
INFO
          Messages with severity level of INFO or higher are logged.
VERBOSE
          Messages with severity level of VERBOSE or higher are logged.
WARNING
          Messages with severity level of WARNING or higher are logged.
 
Method Summary
 java.lang.String toString()
          
static DebugTargetCfgDefn.DebugLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DebugTargetCfgDefn.DebugLevel[] 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

ALL

public static final DebugTargetCfgDefn.DebugLevel ALL
Messages with any severity level are logged.


DISABLED

public static final DebugTargetCfgDefn.DebugLevel DISABLED
No messages are logged.


ERROR

public static final DebugTargetCfgDefn.DebugLevel ERROR
Messages with severity level of ERROR or higher are logged.


INFO

public static final DebugTargetCfgDefn.DebugLevel INFO
Messages with severity level of INFO or higher are logged.


VERBOSE

public static final DebugTargetCfgDefn.DebugLevel VERBOSE
Messages with severity level of VERBOSE or higher are logged.


WARNING

public static final DebugTargetCfgDefn.DebugLevel WARNING
Messages with severity level of WARNING or higher are logged.

Method Detail

values

public static DebugTargetCfgDefn.DebugLevel[] 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 (DebugTargetCfgDefn.DebugLevel c : DebugTargetCfgDefn.DebugLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DebugTargetCfgDefn.DebugLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<DebugTargetCfgDefn.DebugLevel>