org.richfaces.resource
public enum ResourceLoadingOptimization extends Enum<ResourceLoadingOptimization>
Determines whenever RichFaces resources should be loaded optimized and how should be optimized.
Enum Constant and Description |
---|
Compressed
Compression of static resources which is supported (CSS/JS)
|
Packed
Packaging of selected static resources of certain types (CSS/JS)
|
Modifier and Type | Method and Description |
---|---|
static ResourceLoadingOptimization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceLoadingOptimization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceLoadingOptimization Packed
public static final ResourceLoadingOptimization Compressed
public static ResourceLoadingOptimization[] values()
for (ResourceLoadingOptimization c : ResourceLoadingOptimization.values()) System.out.println(c);
public static ResourceLoadingOptimization 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 nullCopyright © 2014 JBoss by Red Hat. All Rights Reserved.