public static enum RpcAuthInfo.AuthFlavor extends Enum<RpcAuthInfo.AuthFlavor>
Enum Constant and Description |
---|
AUTH_DH |
AUTH_NONE |
AUTH_SHORT |
AUTH_SYS |
RPCSEC_GSS |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static RpcAuthInfo.AuthFlavor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcAuthInfo.AuthFlavor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcAuthInfo.AuthFlavor AUTH_NONE
public static final RpcAuthInfo.AuthFlavor AUTH_SYS
public static final RpcAuthInfo.AuthFlavor AUTH_SHORT
public static final RpcAuthInfo.AuthFlavor AUTH_DH
public static final RpcAuthInfo.AuthFlavor RPCSEC_GSS
public static RpcAuthInfo.AuthFlavor[] values()
for (RpcAuthInfo.AuthFlavor c : RpcAuthInfo.AuthFlavor.values()) System.out.println(c);
public static RpcAuthInfo.AuthFlavor 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 getValue()
Copyright © 2013 Apache Software Foundation. All rights reserved.