public enum PreloaderMode extends Enum<PreloaderMode>
PagePreloader
should perform its loading.Enum Constant and Description |
---|
ALWAYS |
DEVELOPMENT |
NEVER |
PRODUCTION |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabledFor(boolean productionMode) |
static PreloaderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreloaderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreloaderMode NEVER
public static final PreloaderMode ALWAYS
public static final PreloaderMode DEVELOPMENT
public static final PreloaderMode PRODUCTION
public static PreloaderMode[] values()
for (PreloaderMode c : PreloaderMode.values()) System.out.println(c);
public static PreloaderMode 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 boolean isEnabledFor(boolean productionMode)
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.