public enum TemplatePlaceholders extends java.lang.Enum<TemplatePlaceholders>
Enum Constant and Description |
---|
EMBED_CODE_DYNAMIC |
EMBED_CODE_ONLOAD |
EMBED_STATIC_CODE |
EMBED_STATIC_FOOTER |
EMBED_STATIC_HEADER |
LAUNCH_CODE |
SCRIPT_CODE |
SCRIPT_URL |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
placeholder |
Modifier and Type | Method and Description |
---|---|
static TemplatePlaceholders |
fromString(java.lang.String text) |
java.lang.String |
getPlaceholder() |
static TemplatePlaceholders |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplatePlaceholders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplatePlaceholders SCRIPT_URL
public static final TemplatePlaceholders SCRIPT_CODE
public static final TemplatePlaceholders EMBED_CODE_DYNAMIC
public static final TemplatePlaceholders EMBED_CODE_ONLOAD
public static final TemplatePlaceholders LAUNCH_CODE
public static final TemplatePlaceholders EMBED_STATIC_HEADER
public static final TemplatePlaceholders EMBED_STATIC_FOOTER
public static final TemplatePlaceholders EMBED_STATIC_CODE
public static TemplatePlaceholders[] values()
for (TemplatePlaceholders c : TemplatePlaceholders.values()) System.out.println(c);
public static TemplatePlaceholders 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 getPlaceholder()
public static TemplatePlaceholders fromString(java.lang.String text)