public class

ReferenceWebResourceTransformer

extends Object
implements WebResourceTransformer
java.lang.Object
   ↳ com.atlassian.jira.dev.reference.plugin.template.ReferenceWebResourceTransformer

Summary

Public Constructors
ReferenceWebResourceTransformer()
Public Methods
DownloadableResource transform(Element configElement, ResourceLocation location, String filePath, DownloadableResource nextResource)
Transforms the downloadable resource by returning a new one.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.webresource.transformer.WebResourceTransformer

Public Constructors

public ReferenceWebResourceTransformer ()

Public Methods

public DownloadableResource transform (Element configElement, ResourceLocation location, String filePath, DownloadableResource nextResource)

Transforms the downloadable resource by returning a new one.

Parameters
configElement The element where it was used. This is provided to allow the transformer to take additional configuration in the form of custom attributes or sub-elements.
location The original resource location
filePath Extra path information. Cannot be null, but can be an empty string if no extra path information
nextResource The original resource
Returns
  • The new resource representing the transformed resource