public static enum PageResource.ResourceLoadStrategy extends Enum<PageResource.ResourceLoadStrategy>
Enum Constant and Description |
---|
BACKGROUND
Loads the script in the background
|
SYNCHRONOUS
Loads and waits for the script to be loaded
|
Modifier and Type | Method and Description |
---|---|
static PageResource.ResourceLoadStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageResource.ResourceLoadStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final PageResource.ResourceLoadStrategy SYNCHRONOUS
public static final PageResource.ResourceLoadStrategy BACKGROUND
public static PageResource.ResourceLoadStrategy[] values()
for (PageResource.ResourceLoadStrategy c : PageResource.ResourceLoadStrategy.values()) System.out.println(c);
public static PageResource.ResourceLoadStrategy 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 null