public enum ChannelType extends java.lang.Enum<ChannelType>
Enum Constant and Description |
---|
ADM |
ANDROID |
EMAIL |
IOS |
OPEN |
SMS |
WEB |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<ChannelType> |
find(java.lang.String identifier) |
java.lang.String |
getIdentifier() |
static ChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType IOS
public static final ChannelType ADM
public static final ChannelType ANDROID
public static final ChannelType WEB
public static final ChannelType OPEN
public static final ChannelType EMAIL
public static final ChannelType SMS
public static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType 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 static java.util.Optional<ChannelType> find(java.lang.String identifier)
public java.lang.String getIdentifier()