Enum CustomChatChannelMessageFormatElement
- java.lang.Object
-
- java.lang.Enum<CustomChatChannelMessageFormatElement>
-
- com.novomind.ecom.api.iagent.messenger.connector.CustomChatChannelMessageFormatElement
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CustomChatChannelMessageFormatElement>
public enum CustomChatChannelMessageFormatElement extends java.lang.Enum<CustomChatChannelMessageFormatElement>
Represents a formatting element that is supported by a
CustomChatChannel
.In case of HTML as chosen
CustomChatChannelMessageFormat
the following element to tag mappings hold:
HTML Mappings Format Element HTML Tag bold <b>, <strong> italic <i>, <em> strikethrough <s> - Since:
- 12.20
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOLD
ITALIC
STRIKETHROUGH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomChatChannelMessageFormatElement
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CustomChatChannelMessageFormatElement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOLD
public static final CustomChatChannelMessageFormatElement BOLD
-
ITALIC
public static final CustomChatChannelMessageFormatElement ITALIC
-
STRIKETHROUGH
public static final CustomChatChannelMessageFormatElement STRIKETHROUGH
-
-
Method Detail
-
values
public static CustomChatChannelMessageFormatElement[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CustomChatChannelMessageFormatElement c : CustomChatChannelMessageFormatElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomChatChannelMessageFormatElement valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-