Interface WebResourceTransformerMatcher
- All Known Implementing Classes:
RelativeUrlTransformerMatcher
public interface WebResourceTransformerMatcher
Describes whether a resource transformer matches a type or resource location
- Since:
- v3.1.0
-
Method Summary
-
Method Details
-
matches
Called at url generation time- Parameters:
type- resource type (eg js / css)- Returns:
- true if the transformer should be applied to the given type
-
matches
boolean matches(com.atlassian.plugin.elements.ResourceLocation resourceLocation) Called at resource fetch time- Parameters:
resourceLocation- resource location- Returns:
- true if the transformer should be applied to the given type
-