@InterfaceStability.Evolving public static enum SaslRpcServer.SaslStatus extends Enum<SaslRpcServer.SaslStatus>
Modifier and Type | Field and Description |
---|---|
int |
state |
Modifier and Type | Method and Description |
---|---|
static SaslRpcServer.SaslStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslRpcServer.SaslStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaslRpcServer.SaslStatus SUCCESS
public static final SaslRpcServer.SaslStatus ERROR
public final int state
public static SaslRpcServer.SaslStatus[] values()
for (SaslRpcServer.SaslStatus c : SaslRpcServer.SaslStatus.values()) System.out.println(c);
public static SaslRpcServer.SaslStatus 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 © 2013 Apache Software Foundation. All Rights Reserved.