Enum LdapOperation
- All Implemented Interfaces:
Serializable, Comparable<LdapOperation>
An enumeration that represents change inducing LDAP operations.
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Add operationThe Delete operationThe Modify operationThe ModDN operationThe Export operationThe Import operationThe Rename operation -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the Ldap Operation nametoString()static LdapOperationReturns the enum constant of this type with the specified name.static LdapOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MODIFY
The Modify operation -
ADD
The Add operation -
DELETE
The Delete operation -
MODIFYDN
The ModDN operation -
MODIFYDN_RENAME
The Rename operation -
MODIFYDN_EXPORT
The Export operation -
MODIFYDN_IMPORT
The Import operation
-
-
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
-
getName
-
toString
- Overrides:
toStringin classEnum<LdapOperation>
-