Enum 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>
- 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 Summary
Enum Constants Enum Constant Description DISABLED
Causes all write attempts to fail.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
Causes external write attempts to fail but allows writes by replication and internal operations.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static LocalBackendCfgDefn.WritabilityMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static LocalBackendCfgDefn.WritabilityMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static LocalBackendCfgDefn.WritabilityMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LocalBackendCfgDefn.WritabilityMode c : LocalBackendCfgDefn.WritabilityMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocalBackendCfgDefn.WritabilityMode valueOf(String name)
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
-
toString
public String toString()
- Overrides:
toString
in classEnum<LocalBackendCfgDefn.WritabilityMode>
-
-