Enum Class ResultCode.Enum

java.lang.Object
java.lang.Enum<ResultCode.Enum>
org.forgerock.opendj.ldap.ResultCode.Enum
All Implemented Interfaces:
Serializable, Comparable<ResultCode.Enum>, java.lang.constant.Constable
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.