@InterfaceAudience.Private public static enum Server.AuthProtocol extends Enum<Server.AuthProtocol>
| Modifier and Type | Field and Description |
|---|---|
int |
callId |
| Modifier and Type | Method and Description |
|---|---|
static Server.AuthProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.AuthProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.AuthProtocol NONE
public static final Server.AuthProtocol SASL
public static Server.AuthProtocol[] values()
for (Server.AuthProtocol c : Server.AuthProtocol.values()) System.out.println(c);
public static Server.AuthProtocol 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.