com.atlassian.plugin.webresource
Class WebResourceTransformation

java.lang.Object
  extended by com.atlassian.plugin.webresource.WebResourceTransformation

public class WebResourceTransformation
extends Object

Represents a set of transformer invocations for a specific web resource set and extension. Transformers are retrieved from the plugin system on request, not plugin initialisation, since plugin start order is indeterminate.

Since:
2.5.0

Constructor Summary
WebResourceTransformation(org.dom4j.Element element)
           
 
Method Summary
 boolean matches(ResourceLocation location)
           
 DownloadableResource transformDownloadableResource(PluginAccessor pluginAccessor, DownloadableResource resource, ResourceLocation resourceLocation, String filePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebResourceTransformation

public WebResourceTransformation(org.dom4j.Element element)
Method Detail

matches

public boolean matches(ResourceLocation location)

transformDownloadableResource

public DownloadableResource transformDownloadableResource(PluginAccessor pluginAccessor,
                                                          DownloadableResource resource,
                                                          ResourceLocation resourceLocation,
                                                          String filePath)


Copyright © 2011 Atlassian. All Rights Reserved.