|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BackendCfgDefn.WritabilityMode>
org.opends.server.admin.std.meta.BackendCfgDefn.WritabilityMode
public static enum BackendCfgDefn.WritabilityMode
Defines the set of permissable values for the "writability-mode" property.
Specifies the behavior that the backend should use when processing write operations.
Enum Constant Summary | |
---|---|
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 | |
---|---|
java.lang.String |
toString()
|
static BackendCfgDefn.WritabilityMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BackendCfgDefn.WritabilityMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BackendCfgDefn.WritabilityMode DISABLED
public static final BackendCfgDefn.WritabilityMode ENABLED
public static final BackendCfgDefn.WritabilityMode INTERNAL_ONLY
Method Detail |
---|
public static BackendCfgDefn.WritabilityMode[] values()
for (BackendCfgDefn.WritabilityMode c : BackendCfgDefn.WritabilityMode.values()) System.out.println(c);
public static BackendCfgDefn.WritabilityMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<BackendCfgDefn.WritabilityMode>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |