org.apache.hadoop.security
Enum Krb5AndCertsSslSocketConnector.MODE
java.lang.Object
java.lang.Enum<Krb5AndCertsSslSocketConnector.MODE>
org.apache.hadoop.security.Krb5AndCertsSslSocketConnector.MODE
- All Implemented Interfaces:
- Serializable, Comparable<Krb5AndCertsSslSocketConnector.MODE>
- Enclosing class:
- Krb5AndCertsSslSocketConnector
public static enum Krb5AndCertsSslSocketConnector.MODE
- extends Enum<Krb5AndCertsSslSocketConnector.MODE>
KRB
public static final Krb5AndCertsSslSocketConnector.MODE KRB
CERTS
public static final Krb5AndCertsSslSocketConnector.MODE CERTS
BOTH
public static final Krb5AndCertsSslSocketConnector.MODE BOTH
values
public static Krb5AndCertsSslSocketConnector.MODE[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Krb5AndCertsSslSocketConnector.MODE c : Krb5AndCertsSslSocketConnector.MODE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Krb5AndCertsSslSocketConnector.MODE valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2009 The Apache Software Foundation