juzu.plugin.asset
Annotation Type Assets


@Retention(value=RUNTIME)
@Target(value=PACKAGE)
public @interface Assets

Declares assets.

Author:
Julien Viet

Optional Element Summary
 Script[] declaredScripts
          Declare a set of scripts for the application, those scripts are not sent.
 Stylesheet[] declaredStylesheets
          Declare a set of stylesheet for the application, those scripts are not sent.
 AssetLocation location
          The default asset location used by the contained assets when no location is explicitly defined.
 Script[] scripts
          The application scripts.
 Stylesheet[] stylesheets
          The application stylesheets.
 

scripts

public abstract Script[] scripts
The application scripts.

Returns:
a list of scripts
Default:
{}

declaredScripts

public abstract Script[] declaredScripts
Declare a set of scripts for the application, those scripts are not sent.

Returns:
the declared scripts
Default:
{}

stylesheets

public abstract Stylesheet[] stylesheets
The application stylesheets.

Returns:
a list of stylesheet
Default:
{}

declaredStylesheets

public abstract Stylesheet[] declaredStylesheets
Declare a set of stylesheet for the application, those scripts are not sent.

Returns:
the declared stylesheets
Default:
{}

location

public abstract AssetLocation location
The default asset location used by the contained assets when no location is explicitly defined.

Returns:
the default asset location
Default:
juzu.asset.AssetLocation.APPLICATION


Copyright © 2013 eXo Platform SAS. All Rights Reserved.