Package org.forgerock.opendj.server.core
Enum RequestContext.RequestFlag
- java.lang.Object
-
- java.lang.Enum<RequestContext.RequestFlag>
-
- org.forgerock.opendj.server.core.RequestContext.RequestFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<RequestContext.RequestFlag>
- Enclosing class:
- RequestContext
public static enum RequestContext.RequestFlag extends Enum<RequestContext.RequestFlag>
Distinguishes operations from server components, not directly from LDAP clients.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNAL
Internal operations.REPLICATION_REPAIR
Replication repair (via control or automatically generated) operation.REPLICATION_REPLAY
Replicated operation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestContext.RequestFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestContext.RequestFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL
public static final RequestContext.RequestFlag INTERNAL
Internal operations.
-
REPLICATION_REPLAY
public static final RequestContext.RequestFlag REPLICATION_REPLAY
Replicated operation.Also known as synchronize/synchronization.
-
REPLICATION_REPAIR
public static final RequestContext.RequestFlag REPLICATION_REPAIR
Replication repair (via control or automatically generated) operation.Also known as dontSynchronize.
-
-
Method Detail
-
values
public static RequestContext.RequestFlag[] 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 (RequestContext.RequestFlag c : RequestContext.RequestFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestContext.RequestFlag 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
-
-