public class BotoCssInliner extends Object implements CssInliner
CssInliner.
Note: Be aware that CachingJiraHomeTemplateContentLoaderImpl provides additional layer of caching, while loading
files from Jira Home templates directory.
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableList<String> |
cssFilenames |
| Constructor and Description |
|---|
BotoCssInliner(CustomTemplatesFeatureAvailabilityCheck licenseCheck,
CachingJiraHomeTemplateContentLoader jiraHomeTemplateContentLoader) |
| Modifier and Type | Method and Description |
|---|---|
String |
applyStyles(String html)
Returns html passed as a parameter with CSS rules injected inline
|
protected final com.google.common.collect.ImmutableList<String> cssFilenames
public BotoCssInliner(CustomTemplatesFeatureAvailabilityCheck licenseCheck, CachingJiraHomeTemplateContentLoader jiraHomeTemplateContentLoader)
public String applyStyles(String html)
CssInlinerapplyStyles in interface CssInlinerhtml - the html to be transformedCopyright © 2002-2022 Atlassian. All Rights Reserved.