Package com.unboundid.ldap.sdk
Enum OperationType
- All Implemented Interfaces:
Serializable,Comparable<OperationType>,java.lang.constant.Constable
This enum defines the set of LDAP operation types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation type that will be used for abandon operations.The operation type that will be used for add operations.The operation type that will be used for bind operations.The operation type that will be used for compare operations.The operation type that will be used for delete operations.The operation type that will be used for extended operations.The operation type that will be used for modify operations.The operation type that will be used for modify DN operations.The operation type that will be used for search operations.The operation type that will be used for unbind operations. -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationTypeRetrieves the operation type with the specified name.static OperationTypeReturns the enum constant of this type with the specified name.static OperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABANDON
The operation type that will be used for abandon operations. -
ADD
The operation type that will be used for add operations. -
BIND
The operation type that will be used for bind operations. -
COMPARE
The operation type that will be used for compare operations. -
DELETE
The operation type that will be used for delete operations. -
EXTENDED
The operation type that will be used for extended operations. -
MODIFY
The operation type that will be used for modify operations. -
MODIFY_DN
The operation type that will be used for modify DN operations. -
SEARCH
The operation type that will be used for search operations. -
UNBIND
The operation type that will be used for unbind operations.
-
-
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
-
forName
Retrieves the operation type with the specified name.- Parameters:
name- The name of the operation type to retrieve. It must not benull.- Returns:
- The requested operation type, or
nullif no such operation type is defined.
-