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

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `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.
    `Class<? extends Minifier>[]` | `minifier`
    `Stylesheet[]` | `value` The contained stylesheets.

- - ### Element Detail

    - #### 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

    - #### minifier

          public abstract Class<? extends Minifier>[] minifier

      Returns:
        the list of minifiers for the stylesheet assets.
      Default:
        {}

Copyright © 2017 eXo Platform SAS. All rights reserved.