public class DefaultStaticTransformersSupplier extends Object implements StaticTransformersSupplier
StaticTransformersSupplier| Constructor and Description |
|---|
DefaultStaticTransformersSupplier(WebResourceIntegration webResourceIntegration,
WebResourceUrlProvider urlProvider,
CdnResourceUrlTransformer cdnResourceUrlTransformer) |
| Modifier and Type | Method and Description |
|---|---|
Dimensions |
computeDimensions()
Returns the
Dimensions of all registered transformers. |
Iterable<DimensionAwareWebResourceTransformerFactory> |
get(com.atlassian.plugin.elements.ResourceLocation resourceLocation) |
Iterable<DimensionAwareWebResourceTransformerFactory> |
get(String locationType) |
public DefaultStaticTransformersSupplier(WebResourceIntegration webResourceIntegration, WebResourceUrlProvider urlProvider, CdnResourceUrlTransformer cdnResourceUrlTransformer)
public Dimensions computeDimensions()
StaticTransformersSupplierDimensions of all registered transformers.computeDimensions in interface StaticTransformersSupplierpublic Iterable<DimensionAwareWebResourceTransformerFactory> get(String locationType)
get in interface StaticTransformersSupplierlocationType - type of resource (eg js / css)public Iterable<DimensionAwareWebResourceTransformerFactory> get(com.atlassian.plugin.elements.ResourceLocation resourceLocation)
get in interface StaticTransformersSupplierresourceLocation - resource locationCopyright © 2019 Atlassian. All rights reserved.