juzu.plugin.asset
Annotation Type Stylesheets


@Retention(value=RUNTIME)
@Target(value=PACKAGE)
public @interface Stylesheets

A container for stylesheets declarations.

Author:
Julien Viet

Optional Element Summary
 AssetLocation location
          The default stylesheet asset location used by the contained stylesheets when no location is explicitly defined.
 int maxAge
          Defines max-age cache control headers for stylesheet assets.
 Stylesheet[] value
          The contained stylesheets.
 

value

public abstract Stylesheet[] value
The contained stylesheets.

Returns:
a list of assets
Default:
{}

location

public abstract AssetLocation location
The default stylesheet asset location used by the contained stylesheets when no location is explicitly defined.

Returns:
the default stylesheet asset location
Default:
juzu.asset.AssetLocation.APPLICATION

maxAge

public abstract int maxAge
Defines max-age cache control headers for stylesheet assets.

Returns:
the max age
Default:
-1


Copyright © 2014 eXo Platform SAS. All rights reserved.