public static enum SaslHandler.SaslOutcome extends Enum<SaslHandler.SaslOutcome>
| Enum Constant and Description |
|---|
AUTH
failed due to bad credentials
|
OK
authentication succeeded
|
SYS
failed due to a system error
|
SYS_PERM
failed due to unrecoverable error
|
SYS_TEMP
failed due to transient error
|
| Modifier and Type | Method and Description |
|---|---|
static SaslHandler.SaslOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslHandler.SaslOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaslHandler.SaslOutcome OK
public static final SaslHandler.SaslOutcome AUTH
public static final SaslHandler.SaslOutcome SYS
public static final SaslHandler.SaslOutcome SYS_PERM
public static final SaslHandler.SaslOutcome SYS_TEMP
public static SaslHandler.SaslOutcome[] values()
for (SaslHandler.SaslOutcome c : SaslHandler.SaslOutcome.values()) System.out.println(c);
public static SaslHandler.SaslOutcome 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 nullCopyright © 2019. All rights reserved.