juzu.plugin.asset

## Annotation Type Scripts

-     @Retention(value=RUNTIME)
      @Target(value=PACKAGE)
      public @interface Scripts

  A container for script declarations.
  Author:
    Julien Viet

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `AssetLocation` | `location` The default script asset location used by the contained scripts when no location is explicitly defined.
    `int` | `maxAge` Defines `max-age` cache control headers for script assets.
    `Class<? extends Minifier>[]` | `minifier`
    `Script[]` | `value` The contained scripts.

- - ### Element Detail

    - #### value

          public abstract Script[] value

      The contained scripts.
      Returns:
        a list of assets
      Default:
        {}

    - #### location

          public abstract AssetLocation location

      The default script asset location used by the contained scripts when no location is explicitly defined.
      Returns:
        the default script asset location
      Default:
        juzu.asset.AssetLocation.APPLICATION

    - #### maxAge

          public abstract int maxAge

      Defines `max-age` cache control headers for script assets.
      Returns:
        the max age
      Default:
        -1

    - #### minifier

          public abstract Class<? extends Minifier>[] minifier

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

Copyright © 2016 eXo Platform SAS. All rights reserved.