|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GetConfigurationType>
com.unboundid.ldap.sdk.unboundidds.extensions.GetConfigurationType
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum GetConfigurationType
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This enum defines the types of configurations that may be obtained using the get configuration extended operation.
Enum Constant Summary | |
---|---|
ACTIVE
The type used to specify the current active configuration. |
|
ARCHIVED
The type used to specify an archived configuration that was previously in effect. |
|
BASELINE
The type used to specify the baseline configuration for the current server version. |
Method Summary | |
---|---|
static GetConfigurationType |
forBERType(byte berType)
Retrieves the get configuration type value that has the specified BER type. |
static GetConfigurationType |
forIntValue(int intValue)
Retrieves the get configuration type value that has the specified integer value. |
byte |
getBERType()
Retrieves the BER type that should be used when this configuration type needs to be encoded in a get configuration request. |
int |
getIntValue()
Retrieves the integer value that should be used when this configuration type needs to be encoded as an enumerated element in a get configuration result. |
static GetConfigurationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GetConfigurationType[] |
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 GetConfigurationType ACTIVE
public static final GetConfigurationType BASELINE
public static final GetConfigurationType ARCHIVED
Method Detail |
---|
public static GetConfigurationType[] values()
for (GetConfigurationType c : GetConfigurationType.values()) System.out.println(c);
public static GetConfigurationType 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 byte getBERType()
public int getIntValue()
public static GetConfigurationType forBERType(byte berType)
berType
- The BER type for the get configuration type value to
retrieve.
null
if there is no enum value with the specified BER
type.public static GetConfigurationType forIntValue(int intValue)
intValue
- The integer value for the get configuration type value
to retrieve.
null
if there is no enum value with the specified
integer value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |