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.
    `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

Copyright © 2014 eXo Platform SAS. All rights reserved.