Package org.forgerock.opendj.ldap
Enum ResultCode.Enum
- java.lang.Object
-
- java.lang.Enum<ResultCode.Enum>
-
- org.forgerock.opendj.ldap.ResultCode.Enum
-
- All Implemented Interfaces:
Serializable
,Comparable<ResultCode.Enum>
- Enclosing class:
- ResultCode
public static enum ResultCode.Enum extends Enum<ResultCode.Enum>
Contains equivalent values for the ResultCode values. This allows easily using ResultCode values with switch statements.ResultCode itself is not an enum because result codes are extensible, hence the
UNKNOWN
enum value. Extensions can define new result codes, such as the cancel request related result codes.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultCode.Enum
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResultCode.Enum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final ResultCode.Enum UNDEFINED
- See Also:
ResultCode.UNDEFINED
-
SUCCESS
public static final ResultCode.Enum SUCCESS
- See Also:
ResultCode.SUCCESS
-
OPERATIONS_ERROR
public static final ResultCode.Enum OPERATIONS_ERROR
- See Also:
ResultCode.OPERATIONS_ERROR
-
PROTOCOL_ERROR
public static final ResultCode.Enum PROTOCOL_ERROR
- See Also:
ResultCode.PROTOCOL_ERROR
-
TIME_LIMIT_EXCEEDED
public static final ResultCode.Enum TIME_LIMIT_EXCEEDED
- See Also:
ResultCode.TIME_LIMIT_EXCEEDED
-
SIZE_LIMIT_EXCEEDED
public static final ResultCode.Enum SIZE_LIMIT_EXCEEDED
- See Also:
ResultCode.SIZE_LIMIT_EXCEEDED
-
COMPARE_FALSE
public static final ResultCode.Enum COMPARE_FALSE
- See Also:
ResultCode.COMPARE_FALSE
-
COMPARE_TRUE
public static final ResultCode.Enum COMPARE_TRUE
- See Also:
ResultCode.COMPARE_TRUE
-
AUTH_METHOD_NOT_SUPPORTED
public static final ResultCode.Enum AUTH_METHOD_NOT_SUPPORTED
- See Also:
ResultCode.AUTH_METHOD_NOT_SUPPORTED
-
STRONG_AUTH_REQUIRED
public static final ResultCode.Enum STRONG_AUTH_REQUIRED
- See Also:
ResultCode.STRONG_AUTH_REQUIRED
-
REFERRAL
public static final ResultCode.Enum REFERRAL
- See Also:
ResultCode.REFERRAL
-
ADMIN_LIMIT_EXCEEDED
public static final ResultCode.Enum ADMIN_LIMIT_EXCEEDED
- See Also:
ResultCode.ADMIN_LIMIT_EXCEEDED
-
UNAVAILABLE_CRITICAL_EXTENSION
public static final ResultCode.Enum UNAVAILABLE_CRITICAL_EXTENSION
-
CONFIDENTIALITY_REQUIRED
public static final ResultCode.Enum CONFIDENTIALITY_REQUIRED
- See Also:
ResultCode.CONFIDENTIALITY_REQUIRED
-
SASL_BIND_IN_PROGRESS
public static final ResultCode.Enum SASL_BIND_IN_PROGRESS
- See Also:
ResultCode.SASL_BIND_IN_PROGRESS
-
NO_SUCH_ATTRIBUTE
public static final ResultCode.Enum NO_SUCH_ATTRIBUTE
- See Also:
ResultCode.NO_SUCH_ATTRIBUTE
-
UNDEFINED_ATTRIBUTE_TYPE
public static final ResultCode.Enum UNDEFINED_ATTRIBUTE_TYPE
- See Also:
ResultCode.UNDEFINED_ATTRIBUTE_TYPE
-
INAPPROPRIATE_MATCHING
public static final ResultCode.Enum INAPPROPRIATE_MATCHING
- See Also:
ResultCode.INAPPROPRIATE_MATCHING
-
CONSTRAINT_VIOLATION
public static final ResultCode.Enum CONSTRAINT_VIOLATION
- See Also:
ResultCode.CONSTRAINT_VIOLATION
-
ATTRIBUTE_OR_VALUE_EXISTS
public static final ResultCode.Enum ATTRIBUTE_OR_VALUE_EXISTS
- See Also:
ResultCode.ATTRIBUTE_OR_VALUE_EXISTS
-
INVALID_ATTRIBUTE_SYNTAX
public static final ResultCode.Enum INVALID_ATTRIBUTE_SYNTAX
- See Also:
ResultCode.INVALID_ATTRIBUTE_SYNTAX
-
NO_SUCH_OBJECT
public static final ResultCode.Enum NO_SUCH_OBJECT
- See Also:
ResultCode.NO_SUCH_OBJECT
-
ALIAS_PROBLEM
public static final ResultCode.Enum ALIAS_PROBLEM
- See Also:
ResultCode.ALIAS_PROBLEM
-
INVALID_DN_SYNTAX
public static final ResultCode.Enum INVALID_DN_SYNTAX
- See Also:
ResultCode.INVALID_DN_SYNTAX
-
ALIAS_DEREFERENCING_PROBLEM
public static final ResultCode.Enum ALIAS_DEREFERENCING_PROBLEM
- See Also:
ResultCode.ALIAS_DEREFERENCING_PROBLEM
-
INAPPROPRIATE_AUTHENTICATION
public static final ResultCode.Enum INAPPROPRIATE_AUTHENTICATION
- See Also:
ResultCode.INAPPROPRIATE_AUTHENTICATION
-
INVALID_CREDENTIALS
public static final ResultCode.Enum INVALID_CREDENTIALS
- See Also:
ResultCode.INVALID_CREDENTIALS
-
INSUFFICIENT_ACCESS_RIGHTS
public static final ResultCode.Enum INSUFFICIENT_ACCESS_RIGHTS
- See Also:
ResultCode.INSUFFICIENT_ACCESS_RIGHTS
-
BUSY
public static final ResultCode.Enum BUSY
- See Also:
ResultCode.BUSY
-
UNAVAILABLE
public static final ResultCode.Enum UNAVAILABLE
- See Also:
ResultCode.UNAVAILABLE
-
UNWILLING_TO_PERFORM
public static final ResultCode.Enum UNWILLING_TO_PERFORM
- See Also:
ResultCode.UNWILLING_TO_PERFORM
-
LOOP_DETECT
public static final ResultCode.Enum LOOP_DETECT
- See Also:
ResultCode.LOOP_DETECT
-
SORT_CONTROL_MISSING
public static final ResultCode.Enum SORT_CONTROL_MISSING
- See Also:
ResultCode.SORT_CONTROL_MISSING
-
OFFSET_RANGE_ERROR
public static final ResultCode.Enum OFFSET_RANGE_ERROR
- See Also:
ResultCode.OFFSET_RANGE_ERROR
-
NAMING_VIOLATION
public static final ResultCode.Enum NAMING_VIOLATION
- See Also:
ResultCode.NAMING_VIOLATION
-
OBJECTCLASS_VIOLATION
public static final ResultCode.Enum OBJECTCLASS_VIOLATION
- See Also:
ResultCode.OBJECTCLASS_VIOLATION
-
NOT_ALLOWED_ON_NONLEAF
public static final ResultCode.Enum NOT_ALLOWED_ON_NONLEAF
- See Also:
ResultCode.NOT_ALLOWED_ON_NONLEAF
-
NOT_ALLOWED_ON_RDN
public static final ResultCode.Enum NOT_ALLOWED_ON_RDN
- See Also:
ResultCode.NOT_ALLOWED_ON_RDN
-
ENTRY_ALREADY_EXISTS
public static final ResultCode.Enum ENTRY_ALREADY_EXISTS
- See Also:
ResultCode.ENTRY_ALREADY_EXISTS
-
OBJECTCLASS_MODS_PROHIBITED
public static final ResultCode.Enum OBJECTCLASS_MODS_PROHIBITED
- See Also:
ResultCode.OBJECTCLASS_MODS_PROHIBITED
-
AFFECTS_MULTIPLE_DSAS
public static final ResultCode.Enum AFFECTS_MULTIPLE_DSAS
- See Also:
ResultCode.AFFECTS_MULTIPLE_DSAS
-
VIRTUAL_LIST_VIEW_ERROR
public static final ResultCode.Enum VIRTUAL_LIST_VIEW_ERROR
- See Also:
ResultCode.VIRTUAL_LIST_VIEW_ERROR
-
OTHER
public static final ResultCode.Enum OTHER
- See Also:
ResultCode.OTHER
-
CLIENT_SIDE_SERVER_DOWN
public static final ResultCode.Enum CLIENT_SIDE_SERVER_DOWN
- See Also:
ResultCode.CLIENT_SIDE_SERVER_DOWN
-
CLIENT_SIDE_LOCAL_ERROR
public static final ResultCode.Enum CLIENT_SIDE_LOCAL_ERROR
- See Also:
ResultCode.CLIENT_SIDE_LOCAL_ERROR
-
CLIENT_SIDE_ENCODING_ERROR
public static final ResultCode.Enum CLIENT_SIDE_ENCODING_ERROR
- See Also:
ResultCode.CLIENT_SIDE_ENCODING_ERROR
-
CLIENT_SIDE_DECODING_ERROR
public static final ResultCode.Enum CLIENT_SIDE_DECODING_ERROR
- See Also:
ResultCode.CLIENT_SIDE_DECODING_ERROR
-
CLIENT_SIDE_TIMEOUT
public static final ResultCode.Enum CLIENT_SIDE_TIMEOUT
- See Also:
ResultCode.CLIENT_SIDE_TIMEOUT
-
CLIENT_SIDE_AUTH_UNKNOWN
public static final ResultCode.Enum CLIENT_SIDE_AUTH_UNKNOWN
- See Also:
ResultCode.CLIENT_SIDE_AUTH_UNKNOWN
-
CLIENT_SIDE_FILTER_ERROR
public static final ResultCode.Enum CLIENT_SIDE_FILTER_ERROR
- See Also:
ResultCode.CLIENT_SIDE_FILTER_ERROR
-
CLIENT_SIDE_USER_CANCELLED
public static final ResultCode.Enum CLIENT_SIDE_USER_CANCELLED
- See Also:
ResultCode.CLIENT_SIDE_USER_CANCELLED
-
CLIENT_SIDE_PARAM_ERROR
public static final ResultCode.Enum CLIENT_SIDE_PARAM_ERROR
- See Also:
ResultCode.CLIENT_SIDE_PARAM_ERROR
-
CLIENT_SIDE_NO_MEMORY
public static final ResultCode.Enum CLIENT_SIDE_NO_MEMORY
- See Also:
ResultCode.CLIENT_SIDE_NO_MEMORY
-
CLIENT_SIDE_CONNECT_ERROR
public static final ResultCode.Enum CLIENT_SIDE_CONNECT_ERROR
- See Also:
ResultCode.CLIENT_SIDE_CONNECT_ERROR
-
CLIENT_SIDE_NOT_SUPPORTED
public static final ResultCode.Enum CLIENT_SIDE_NOT_SUPPORTED
- See Also:
ResultCode.CLIENT_SIDE_NOT_SUPPORTED
-
CLIENT_SIDE_CONTROL_NOT_FOUND
public static final ResultCode.Enum CLIENT_SIDE_CONTROL_NOT_FOUND
- See Also:
ResultCode.CLIENT_SIDE_CONTROL_NOT_FOUND
-
CLIENT_SIDE_NO_RESULTS_RETURNED
public static final ResultCode.Enum CLIENT_SIDE_NO_RESULTS_RETURNED
-
CLIENT_SIDE_UNEXPECTED_RESULTS_RETURNED
public static final ResultCode.Enum CLIENT_SIDE_UNEXPECTED_RESULTS_RETURNED
-
CLIENT_SIDE_CLIENT_LOOP
public static final ResultCode.Enum CLIENT_SIDE_CLIENT_LOOP
- See Also:
ResultCode.CLIENT_SIDE_CLIENT_LOOP
-
CLIENT_SIDE_REFERRAL_LIMIT_EXCEEDED
public static final ResultCode.Enum CLIENT_SIDE_REFERRAL_LIMIT_EXCEEDED
-
CANCELLED
public static final ResultCode.Enum CANCELLED
- See Also:
ResultCode.CANCELLED
-
NO_SUCH_OPERATION
public static final ResultCode.Enum NO_SUCH_OPERATION
- See Also:
ResultCode.NO_SUCH_OPERATION
-
TOO_LATE
public static final ResultCode.Enum TOO_LATE
- See Also:
ResultCode.TOO_LATE
-
CANNOT_CANCEL
public static final ResultCode.Enum CANNOT_CANCEL
- See Also:
ResultCode.CANNOT_CANCEL
-
ASSERTION_FAILED
public static final ResultCode.Enum ASSERTION_FAILED
- See Also:
ResultCode.ASSERTION_FAILED
-
AUTHORIZATION_DENIED
public static final ResultCode.Enum AUTHORIZATION_DENIED
- See Also:
ResultCode.AUTHORIZATION_DENIED
-
NO_OPERATION
public static final ResultCode.Enum NO_OPERATION
- See Also:
ResultCode.NO_OPERATION
-
UNKNOWN
public static final ResultCode.Enum UNKNOWN
Used for unknown search scopes.
-
-
Method Detail
-
values
public static ResultCode.Enum[] 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 (ResultCode.Enum c : ResultCode.Enum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultCode.Enum 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
-
-