Package org.apache.tapestry5.internal.services.javascript

# Interface JavaScriptStackPathConstructor

All Known Implementing Classes:
  `JavaScriptStackPathConstructorImpl`

public interface JavaScriptStackPathConstructor
Used to generate a list of asset URL paths for the JavaScript libraries of a JavaScript stack. This encapsulates much of the logic of script aggregation.

Since:
  5.2.0
See Also:
  - `JavaScriptStack`
  - `JavaScriptStackSource`
  - `JavaScriptSupport`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `constructPathsForJavaScriptStack(String stackName)`
  Given a stack, by name, return a list of URL paths for the individual libraries in the stack.

- ## Method Details

  - ### constructPathsForJavaScriptStack

    List<String> constructPathsForJavaScriptStack(String stackName)
    Given a stack, by name, return a list of URL paths for the individual libraries in the stack. If scripts are combined, this will be a single (combined) URL.
    Parameters:
      `stackName` - name of `JavaScriptStack`