Package de.xima.fc.e2e.shared
Enum EConnectionEncryption
- java.lang.Object
-
- java.lang.Enum<EConnectionEncryption>
-
- de.xima.fc.e2e.shared.EConnectionEncryption
-
- All Implemented Interfaces:
Serializable
,Comparable<EConnectionEncryption>
public enum EConnectionEncryption extends Enum<EConnectionEncryption>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EConnectionEncryption
valueOf(String name)
Returns the enum constant of this type with the specified name.static EConnectionEncryption
valueOfOrNull(String string)
static EConnectionEncryption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final EConnectionEncryption NONE
-
SSL_TLS
public static final EConnectionEncryption SSL_TLS
-
START_TLS
public static final EConnectionEncryption START_TLS
-
-
Method Detail
-
values
public static EConnectionEncryption[] 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 (EConnectionEncryption c : EConnectionEncryption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EConnectionEncryption 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 nameNullPointerException
- if the argument is null
-
valueOfOrNull
public static EConnectionEncryption valueOfOrNull(String string)
-
-