com.atlassian.jira.web.util
Class CssSubstitutionWebResourceTransformer
java.lang.Object
com.atlassian.jira.web.util.CssSubstitutionWebResourceTransformer
- All Implemented Interfaces:
- com.atlassian.plugin.webresource.transformer.WebResourceTransformerFactory
public class CssSubstitutionWebResourceTransformer
- extends Object
- implements com.atlassian.plugin.webresource.transformer.WebResourceTransformerFactory
A resource transform that makes variable substitutions based on L&F settings.
Variables are prefixed with @. Variables will be: - Of the form
@[a-zA-Z][a-zA-Z0-9_]*
(e.g.
alphanumeric and underscores and starts with an alpha). - Any @FOO token found that doesn't correspond to a known
variable will be left as-is.
- @TextHeadingColour, @MenuBackgroundColour, etc.
- Copies of all the above with
any leading hash # removed e.g. @TextHeadingColourNoHash, @MenuBackgroundColourNoHash
- @ContextPath. This will
either be the empty string, or a string that starts with a slash and never ends in a slash.
- Since:
- v4.3
Method Summary |
com.atlassian.plugin.webresource.transformer.UrlReadingWebResourceTransformer |
makeResourceTransformer(com.atlassian.plugin.webresource.transformer.TransformerParameters parameters)
|
com.atlassian.plugin.webresource.transformer.TransformerUrlBuilder |
makeUrlBuilder(com.atlassian.plugin.webresource.transformer.TransformerParameters parameters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOOKNFEEL_VERSION_QUERY_PARAM
public static final String LOOKNFEEL_VERSION_QUERY_PARAM
- See Also:
- Constant Field Values
CssSubstitutionWebResourceTransformer
public CssSubstitutionWebResourceTransformer(ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration)
makeUrlBuilder
public com.atlassian.plugin.webresource.transformer.TransformerUrlBuilder makeUrlBuilder(com.atlassian.plugin.webresource.transformer.TransformerParameters parameters)
- Specified by:
makeUrlBuilder
in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformerFactory
makeResourceTransformer
public com.atlassian.plugin.webresource.transformer.UrlReadingWebResourceTransformer makeResourceTransformer(com.atlassian.plugin.webresource.transformer.TransformerParameters parameters)
- Specified by:
makeResourceTransformer
in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformerFactory
Copyright © 2002-2014 Atlassian. All Rights Reserved.