@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum GetConfigurationType extends java.lang.Enum<GetConfigurationType>
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and Alcatel-Lucent 8661
server products. These classes provide support for proprietary
functionality or for external specifications that are not considered stable
or mature enough to be guaranteed to work in an interoperable way with
other types of LDAP servers.
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static GetConfigurationType |
forName(java.lang.String name)
Retrieves the get configuration type value with the specified name.
|
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.
|
public static final GetConfigurationType ACTIVE
public static final GetConfigurationType BASELINE
public static final GetConfigurationType ARCHIVED
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 namejava.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.public static GetConfigurationType forName(java.lang.String name)
name
- The name of the get configuration type value to retrieve. It
must not be null
.null
if no
such value is defined.