public class JavaScriptStackAssemblerImpl extends Object implements JavaScriptStackAssembler
Constructor and Description |
---|
JavaScriptStackAssemblerImpl(ThreadLocale threadLocale,
ResourceChangeTracker resourceChangeTracker,
StreamableResourceSource streamableResourceSource,
JavaScriptStackSource stackSource,
AssetChecksumGenerator checksumGenerator,
ModuleManager moduleManager,
ResourceMinimizer resourceMinimizer,
boolean minificationEnabled) |
Modifier and Type | Method and Description |
---|---|
StreamableResource |
assembleJavaScriptResourceForStack(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. |
public JavaScriptStackAssemblerImpl(ThreadLocale threadLocale, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, JavaScriptStackSource stackSource, AssetChecksumGenerator checksumGenerator, ModuleManager moduleManager, ResourceMinimizer resourceMinimizer, @Symbol(value="tapestry.enable-minification") boolean minificationEnabled)
public StreamableResource assembleJavaScriptResourceForStack(String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy) throws IOException
JavaScriptStackAssembler
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!assembleJavaScriptResourceForStack
in interface JavaScriptStackAssembler
IOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.