public enum SortResultCode extends Enum<SortResultCode>
Enum Constant and Description |
---|
ADMINLIMITEXCEEDED |
BUSY |
INAPPROPRIATEMATCHING |
INSUFFICIENTACCESSRIGHTS |
NOSUCHATTRIBUTE |
OPERATIONSERROR |
OTHER |
STRONGAUTHREQUIRED |
SUCCESS |
TIMELIMITEXCEEDED |
UNWILLINGTOPERFORM |
Modifier and Type | Method and Description |
---|---|
static SortResultCode |
get(int code)
returns the enum value representing the given code.
|
int |
getVal() |
static SortResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortResultCode SUCCESS
public static final SortResultCode OPERATIONSERROR
public static final SortResultCode TIMELIMITEXCEEDED
public static final SortResultCode STRONGAUTHREQUIRED
public static final SortResultCode ADMINLIMITEXCEEDED
public static final SortResultCode NOSUCHATTRIBUTE
public static final SortResultCode INAPPROPRIATEMATCHING
public static final SortResultCode INSUFFICIENTACCESSRIGHTS
public static final SortResultCode BUSY
public static final SortResultCode UNWILLINGTOPERFORM
public static final SortResultCode OTHER
public static SortResultCode[] values()
for (SortResultCode c : SortResultCode.values()) System.out.println(c);
public static SortResultCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getVal()
public static SortResultCode get(int code)
code
- the result codeCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.