public interface JavaScriptStackAssembler
JavaScriptStack
into
a single resource; this is needed to generate a checksum for the aggregated assets, and also to service the
aggregated stack content.SymbolConstants.COMBINE_SCRIPTS
Modifier and Type | Method and 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. |
StreamableResource assembleJavaScriptResourceForStack(java.lang.String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy) throws java.io.IOException
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!java.io.IOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.