public enum ReturnStatus extends Enum<ReturnStatus>
| Enum Constant and Description |
|---|
CANNOT_AUTHENTICATE_USER |
CANNOT_DETECT_PROVIDER_TYPE |
CANNOT_QUERY_USER |
INPUT_VALIDATION_FAILURE |
INVALID_CREDENTIALS |
LDAP_CONTEXT_FAILURE |
OK |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetailedMessage() |
int |
getExitCode() |
static ReturnStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnStatus OK
public static final ReturnStatus INPUT_VALIDATION_FAILURE
public static final ReturnStatus LDAP_CONTEXT_FAILURE
public static final ReturnStatus CANNOT_QUERY_USER
public static final ReturnStatus CANNOT_AUTHENTICATE_USER
public static final ReturnStatus CANNOT_DETECT_PROVIDER_TYPE
public static final ReturnStatus INVALID_CREDENTIALS
public static ReturnStatus[] values()
for (ReturnStatus c : ReturnStatus.values()) System.out.println(c);
public static ReturnStatus 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 String getDetailedMessage()
public int getExitCode()
Copyright © 2012. All Rights Reserved.