Enum Class LocalBackendCfgDefn.WritabilityMode

java.lang.Object
java.lang.Enum<LocalBackendCfgDefn.WritabilityMode>
org.forgerock.opendj.server.config.meta.LocalBackendCfgDefn.WritabilityMode
All Implemented Interfaces:
Serializable, Comparable<LocalBackendCfgDefn.WritabilityMode>, java.lang.constant.Constable
Enclosing class:
LocalBackendCfgDefn

public static enum LocalBackendCfgDefn.WritabilityMode extends Enum<LocalBackendCfgDefn.WritabilityMode>
Defines the set of permissible values for the "writability-mode" property.

Specifies the behavior that the backend should use when processing write operations.

  • Enum Constant Details

    • DISABLED

      public static final LocalBackendCfgDefn.WritabilityMode DISABLED
      Causes all write attempts to fail.
    • ENABLED

      public static final LocalBackendCfgDefn.WritabilityMode ENABLED
      Allows write operations to be performed in that backend (if the requested operation is valid, the user has permission to perform the operation, the backend supports that type of write operation, and the global writability-mode property is also enabled).
    • INTERNAL_ONLY

      public static final LocalBackendCfgDefn.WritabilityMode INTERNAL_ONLY
      Causes external write attempts to fail but allows writes by replication and internal operations.
  • Method Details

    • values

      public static LocalBackendCfgDefn.WritabilityMode[] 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 LocalBackendCfgDefn.WritabilityMode 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LocalBackendCfgDefn.WritabilityMode>