Enum SMTPSecureMode
- java.lang.Object
-
- java.lang.Enum<SMTPSecureMode>
-
- co.ecg.alpaca.toolkit.generated.enums.SMTPSecureMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SMTPSecureMode>
public enum SMTPSecureMode extends Enum<SMTPSecureMode>
Choices for SMTP secure mode.- Author:
- AlpacaGenerator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SMTPSecureMode
get(String value)
static SMTPSecureMode[]
getArray(String[] values)
String
toString()
String
value()
static SMTPSecureMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SMTPSecureMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final SMTPSecureMode DISABLED
-
SMTPS
public static final SMTPSecureMode SMTPS
-
STARTTLS
public static final SMTPSecureMode STARTTLS
-
-
Method Detail
-
values
public static SMTPSecureMode[] 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 (SMTPSecureMode c : SMTPSecureMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMTPSecureMode 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
-
value
public String value()
-
toString
public String toString()
- Overrides:
toString
in classEnum<SMTPSecureMode>
-
get
public static SMTPSecureMode get(String value)
-
getArray
public static SMTPSecureMode[] getArray(String[] values)
-
-