# Uses of Enum
org.apache.tapestry5.services.javascript.JavaScriptAggregationStrategy

Packages that use JavaScriptAggregationStrategy
Package
Description
org.apache.tapestry5.internal.services.assets
[INTERNAL USE ONLY] asset support services; API subject to change
org.apache.tapestry5.services.javascript
Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets.

- ## Uses of JavaScriptAggregationStrategy in org.apache.tapestry5.internal.services.assets

  Methods in org.apache.tapestry5.internal.services.assets with parameters of type JavaScriptAggregationStrategy
  Modifier and Type
  Method
  Description
  `StreamableResource`
  JavaScriptStackAssembler.`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.
  `StreamableResource`
  JavaScriptStackAssemblerImpl.`assembleJavaScriptResourceForStack(String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy)`

- ## Uses of JavaScriptAggregationStrategy in org.apache.tapestry5.services.javascript

  Methods in org.apache.tapestry5.services.javascript that return JavaScriptAggregationStrategy
  Modifier and Type
  Method
  Description
  `JavaScriptAggregationStrategy`
  ExtensibleJavaScriptStack.`getJavaScriptAggregationStrategy()`
  `JavaScriptAggregationStrategy`
  JavaScriptStack.`getJavaScriptAggregationStrategy()`
  Identifies how to aggregate JavaScript within the stack.
  `static JavaScriptAggregationStrategy`
  JavaScriptAggregationStrategy.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static JavaScriptAggregationStrategy[]`
  JavaScriptAggregationStrategy.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.tapestry5.services.javascript with parameters of type JavaScriptAggregationStrategy
  Modifier and Type
  Method
  Description
  `static StackExtension`
  StackExtension.`javascriptAggregation(JavaScriptAggregationStrategy strategy)`
  Convenience for defining the `JavaScriptStack.getJavaScriptAggregationStrategy()`.