org.opends.server.admin.std.meta
Enum GlobalCfgDefn.WritabilityMode

java.lang.Object
  extended by java.lang.Enum<GlobalCfgDefn.WritabilityMode>
      extended by org.opends.server.admin.std.meta.GlobalCfgDefn.WritabilityMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GlobalCfgDefn.WritabilityMode>
Enclosing class:
GlobalCfgDefn

public static enum GlobalCfgDefn.WritabilityMode
extends java.lang.Enum<GlobalCfgDefn.WritabilityMode>

Defines the set of permissable values for the "writability-mode" property.

Specifies the kinds of write operations the Directory Server can process.


Enum Constant Summary
DISABLED
          The Directory Server rejects all write operations that are requested of it, regardless of their origin.
ENABLED
          The Directory Server attempts to process all write operations that are requested of it, regardless of their origin.
INTERNAL_ONLY
          The Directory Server attempts to process write operations requested as internal operations or through synchronization, but rejects any such operations requested from external clients.
 
Method Summary
 java.lang.String toString()
          
static GlobalCfgDefn.WritabilityMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GlobalCfgDefn.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

DISABLED

public static final GlobalCfgDefn.WritabilityMode DISABLED
The Directory Server rejects all write operations that are requested of it, regardless of their origin.


ENABLED

public static final GlobalCfgDefn.WritabilityMode ENABLED
The Directory Server attempts to process all write operations that are requested of it, regardless of their origin.


INTERNAL_ONLY

public static final GlobalCfgDefn.WritabilityMode INTERNAL_ONLY
The Directory Server attempts to process write operations requested as internal operations or through synchronization, but rejects any such operations requested from external clients.

Method Detail

values

public static GlobalCfgDefn.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 (GlobalCfgDefn.WritabilityMode c : GlobalCfgDefn.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 GlobalCfgDefn.WritabilityMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<GlobalCfgDefn.WritabilityMode>