Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## juzu.plugin.asset
Annotation Type Script

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

A script asset.

Author:
  Julien Viet

Required Element Summary
`String` | `src` The script source.

Optional Element Summary
`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.SERVER

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2012 eXo Platform SAS. All Rights Reserved.