public enum BuiltInChannel extends java.lang.Enum<BuiltInChannel>
| Enum Constant and Description |
|---|
MAIN |
MOBILE |
POS |
SMS |
WEB_SERVICES |
| Modifier and Type | Method and Description |
|---|---|
static BuiltInChannel |
getByInternalName(java.lang.String internalName)
Returns the channel with the given internal name, or null if not found (or not a built-in channel)
|
java.lang.String |
getDisplayName() |
java.lang.String |
getInternalName()
Returns the channel internal name
|
static BuiltInChannel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltInChannel MAIN
public static final BuiltInChannel WEB_SERVICES
public static final BuiltInChannel SMS
public static final BuiltInChannel POS
public static final BuiltInChannel MOBILE
public static BuiltInChannel[] values()
for (BuiltInChannel c : BuiltInChannel.values()) System.out.println(c);
public static BuiltInChannel 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 BuiltInChannel getByInternalName(java.lang.String internalName)
public java.lang.String getDisplayName()
public java.lang.String getInternalName()