Enum Class HistAttrModificationKey
java.lang.Object
java.lang.Enum<HistAttrModificationKey>
org.opends.server.replication.plugin.HistAttrModificationKey
- All Implemented Interfaces:
Serializable
,Comparable<HistAttrModificationKey>
,java.lang.constant.Constable
Enumeration used for storing type of attribute modification in the value of the replication historical information.
Example of ds-sync-hist values: ds-sync-hist: attrName1:changeNumber1:repl:newReplacingValue ds-sync-hist:
attrName1:changeNumber2:del:deletedValue ds-sync-hist: attrName3:changeNumber3:add:newAddedvalue ds-sync-hist:
attrName3:changeNumber4:attrDel
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HistAttrModificationKey
Get a key from the String representation.getKey()
Retrieves the human-readable name for this HistKey.toString()
Retrieves a string representation of this HistKey.static HistAttrModificationKey
Returns the enum constant of this class with the specified name.static HistAttrModificationKey[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEL
The key for attribute value deletion. -
ATTRDEL
The key for attribute deletion. -
REPL
The key for attribute replace. -
ADD
The key for attribute value addition.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
decodeKey
Get a key from the String representation.- Parameters:
histkey
- the String to decode- Returns:
- the key from the enum type
-
getKey
Retrieves the human-readable name for this HistKey.- Returns:
- The human-readable name for this HistKey.
-
toString
Retrieves a string representation of this HistKey.- Overrides:
toString
in classEnum<HistAttrModificationKey>
- Returns:
- A string representation of this HistKey.
-