Enum GetConfigurationType
java.lang.Object
java.lang.Enum<GetConfigurationType>
com.unboundid.ldap.sdk.unboundidds.extensions.GetConfigurationType
- All Implemented Interfaces:
Serializable,Comparable<GetConfigurationType>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum GetConfigurationType
extends Enum<GetConfigurationType>
This enum defines the types of configurations that may be obtained using the
get configuration extended operation.
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
Nokia/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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic GetConfigurationTypeforBERType(byte berType) Retrieves the get configuration type value that has the specified BER type.static GetConfigurationTypeforIntValue(int intValue) Retrieves the get configuration type value that has the specified integer value.static GetConfigurationTypeRetrieves the get configuration type value with the specified name.byteRetrieves the BER type that should be used when this configuration type needs to be encoded in a get configuration request.intRetrieves 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 GetConfigurationTypeReturns 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.
-
Enum Constant Details
-
ACTIVE
The type used to specify the current active configuration. -
BASELINE
The type used to specify the baseline configuration for the current server version. -
ARCHIVED
The type used to specify an archived configuration that was previously in effect.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getBERType
Retrieves the BER type that should be used when this configuration type needs to be encoded in a get configuration request.- Returns:
- The BER type that should be used when this configuration type needs to be encoded in a get configuration request.
-
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.- Returns:
- The integer value that should be used when this configuration type needs to be encoded as an enumerated element in a get configuration result.
-
forBERType
Retrieves the get configuration type value that has the specified BER type.- Parameters:
berType- The BER type for the get configuration type value to retrieve.- Returns:
- The get configuration type value for the specified BER type, or
nullif there is no enum value with the specified BER type.
-
forIntValue
Retrieves the get configuration type value that has the specified integer value.- Parameters:
intValue- The integer value for the get configuration type value to retrieve.- Returns:
- The get configuration type value for the specified integer value,
or
nullif there is no enum value with the specified integer value.
-
forName
Retrieves the get configuration type value with the specified name.- Parameters:
name- The name of the get configuration type value to retrieve. It must not benull.- Returns:
- The requested get configuration type value, or
nullif no such value is defined.
-