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
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.