com.unboundid.scim.sdk
Enum DebugType

java.lang.Object
  extended by java.lang.Enum<DebugType>
      extended by com.unboundid.scim.sdk.DebugType
All Implemented Interfaces:
Serializable, Comparable<DebugType>

public enum DebugType
extends Enum<DebugType>

This enumeration defines a set of debugging types that are used by the SCIM SDK.


Enum Constant Summary
CODING_ERROR
          The debug type that will be used for information about coding errors or other types of incorrect uses of the SCIM SDK.
EXCEPTION
          The debug type that will be used for debugging information about exceptions that are caught.
OTHER
          The debug type that will be used for debug messages not applicable to any of the other categories.
 
Method Summary
static DebugType forName(String name)
          Retrieves the debug type with the specified name.
 String getName()
          Retrieves the name for this debug type.
static String getTypeNameList()
          Retrieves a comma-delimited list of the defined debug type names.
 String toString()
          Retrieves a string representation of this debug type.
static DebugType valueOf(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

EXCEPTION

public static final DebugType EXCEPTION
The debug type that will be used for debugging information about exceptions that are caught.


CODING_ERROR

public static final DebugType CODING_ERROR
The debug type that will be used for information about coding errors or other types of incorrect uses of the SCIM SDK.


OTHER

public static final DebugType OTHER
The debug type that will be used for debug messages not applicable to any of the other categories.

Method Detail

values

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

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

valueOf

public static DebugType 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()
Retrieves the name for this debug type.

Returns:
The name for this debug type.

forName

public static DebugType forName(String name)
Retrieves the debug type with the specified name.

Parameters:
name - The name of the debug type to retrieve.
Returns:
The requested debug type, or null if there is no such debug type.

getTypeNameList

public static String getTypeNameList()
Retrieves a comma-delimited list of the defined debug type names.

Returns:
A comma-delimited list of the defined debug type names.

toString

public String toString()
Retrieves a string representation of this debug type.

Overrides:
toString in class Enum<DebugType>
Returns:
A string representation of this debug type.


Copyright © 2011-2012 UnboundID. All Rights Reserved.