juzu.plugin.asset

## Annotation Type Script

-     @Retention(value=RUNTIME)
      @Target(value={})
      public @interface Script

  A script asset.
  Author:
    Julien Viet

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `src` The script source.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `depends` Return the script dependencies, i.e the script that should be executed before the script determined by this annotation.
    `String` | `id` Returns the script id, the value is optional and has meaning when this script must be referenced (for instance as a dependency of another script).
    `AssetLocation` | `location` The script location.

- - ### Element Detail

    - #### src

          public abstract String src

      The script source.
      Returns:
        the source

    - #### id

          public abstract String id

      Returns the script id, the value is optional and has meaning when this script must be referenced (for instance as a dependency of another script).
      Returns:
        the script id
      Default:
        ""

    - #### depends

          public abstract String[] depends

      Return the script dependencies, i.e the script that should be executed before the script determined by this annotation.
      Returns:
        the dependencies
      Default:
        {}

    - #### location

          public abstract AssetLocation location

      The script location.
      Returns:
        the location
      Default:
        juzu.asset.AssetLocation.APPLICATION

Copyright © 2013 eXo Platform SAS. All Rights Reserved.