public enum SmtpAuthType extends java.lang.Enum<SmtpAuthType>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultPort() |
java.lang.String |
getLabel() |
boolean |
isSsl() |
boolean |
isStandard() |
boolean |
isTls() |
static SmtpAuthType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SmtpAuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmtpAuthType standard
public static final SmtpAuthType ssl
public static final SmtpAuthType tls
public static SmtpAuthType[] values()
for (SmtpAuthType c : SmtpAuthType.values()) System.out.println(c);
public static SmtpAuthType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getLabel()
public boolean isStandard()
public boolean isSsl()
public boolean isTls()
public java.lang.String getDefaultPort()