public enum ImapSecureMode extends java.lang.Enum<ImapSecureMode> implements io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>
Modifier and Type | Method and Description |
---|---|
static ImapSecureMode |
fromId(java.lang.String id) |
java.lang.String |
getId() |
static ImapSecureMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImapSecureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImapSecureMode STARTTLS
public static final ImapSecureMode TLS
public static ImapSecureMode[] values()
for (ImapSecureMode c : ImapSecureMode.values()) System.out.println(c);
public static ImapSecureMode 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 getId()
getId
in interface io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>
@Nullable public static ImapSecureMode fromId(java.lang.String id)