public enum ECommunicationChannelType extends Enum<ECommunicationChannelType>
| Enum Constant and Description |
|---|
EMAIL
Email channel type.
|
SMS
SMS channel type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHtmlBodyChannel()
Test if this channel allow HTML on body or not.
|
static boolean |
isHtmlBodyChannel(@NotNull ECommunicationChannelType channelType)
Test if the indicated
channelType allow HTML on body or not. |
static ECommunicationChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECommunicationChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECommunicationChannelType EMAIL
public static final ECommunicationChannelType SMS
public static ECommunicationChannelType[] values()
for (ECommunicationChannelType c : ECommunicationChannelType.values()) System.out.println(c);
public static ECommunicationChannelType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static final boolean isHtmlBodyChannel(@NotNull
@NotNull ECommunicationChannelType channelType)
channelType allow HTML on body or not.channelType - The channel typepublic boolean isHtmlBodyChannel()
Copyright © 2021 Albirar. All rights reserved.