Package org.apache.tapestry5.internal.services.assets

## Interface JavaScriptStackAssembler

- All Known Implementing Classes:
    `JavaScriptStackAssemblerImpl`

      public interface JavaScriptStackAssembler

  Assembles the individual assets of a `JavaScriptStack` into a single resource; this is needed to generate a checksum for the aggregated assets, and also to service the aggregated stack content.
  Since:
    5.4
  See Also:
    `SymbolConstants.COMBINE_SCRIPTS`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `StreamableResource` | `assembleJavaScriptResourceForStack​(java.lang.String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy)` | Obtains the `JavaScriptStack` by name, and then uses the `StreamableResourceSource` service to obtain the assets, which are combined together.

- - ### Method Detail

    - #### assembleJavaScriptResourceForStack

          StreamableResource assembleJavaScriptResourceForStack​(java.lang.String stackName,
                                                                boolean compress,
                                                                JavaScriptAggregationStrategy javascriptAggregationStrategy)
                                                         throws java.io.IOException

      Obtains the `JavaScriptStack` by name, and then uses the `StreamableResourceSource` service to obtain the assets, which are combined together. Expects the non-persistent locale to be set before invoking!
      Throws:
        `java.io.IOException`