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

public enum HistAttrModificationKey extends Enum<HistAttrModificationKey>
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
  • Enum Constant Details

  • Method Details

    • values

      public static HistAttrModificationKey[] 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

      public static HistAttrModificationKey valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • decodeKey

      public static HistAttrModificationKey decodeKey(String histkey)
      Get a key from the String representation.
      Parameters:
      histkey - the String to decode
      Returns:
      the key from the enum type
    • getKey

      public String getKey()
      Retrieves the human-readable name for this HistKey.
      Returns:
      The human-readable name for this HistKey.
    • toString

      public String toString()
      Retrieves a string representation of this HistKey.
      Overrides:
      toString in class Enum<HistAttrModificationKey>
      Returns:
      A string representation of this HistKey.