public static enum ResourceService.Position extends java.lang.Enum<ResourceService.Position>
Enum Constant and Description |
---|
AFTER_MAIN_SCRIPT
Loaded after script execution.
|
PRE_CONTENT
Loaded before page contents.
|
PRE_MAIN_SCRIPT
Loaded after library scripts.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cleanName() |
static ResourceService.Position |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceService.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceService.Position PRE_CONTENT
public static final ResourceService.Position PRE_MAIN_SCRIPT
Recommended for modifying the structure of the page or loading libraries.
public static final ResourceService.Position AFTER_MAIN_SCRIPT
Recommended for loading data to custom structure on the page.
public static ResourceService.Position[] values()
for (ResourceService.Position c : ResourceService.Position.values()) System.out.println(c);
public static ResourceService.Position 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 cleanName()