public enum TemplatePlaceholders extends 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 | Method and Description |
---|---|
static TemplatePlaceholders |
fromString(String text) |
String |
getPlaceholder() |
static TemplatePlaceholders |
valueOf(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(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 String getPlaceholder()
public static TemplatePlaceholders fromString(String text)
Copyright © 2020. All rights reserved.