public class DefaultConfluenceWebResourceService extends Object implements ConfluenceWebResourceService
ConfluenceWebResourceService.Style
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<com.atlassian.webresource.api.assembler.WebResource> |
JS_RESOURCE_PREDICATE |
Constructor and Description |
---|
DefaultConfluenceWebResourceService(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService,
CssResourceCounterManager cssResourceCounterManager,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
StylesheetManager stylesheetManager,
ThemeManager themeManager,
com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration,
com.google.common.base.Supplier<DarkFeaturesManager> darkFeaturesManagerSupplier) |
Modifier and Type | Method and Description |
---|---|
void |
writeConfluenceResourceTags(Writer writer,
ConfluenceWebResourceService.Style style,
String spaceKey)
Write all html resource tags to the given writer.
|
public static final com.google.common.base.Predicate<com.atlassian.webresource.api.assembler.WebResource> JS_RESOURCE_PREDICATE
public DefaultConfluenceWebResourceService(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, CssResourceCounterManager cssResourceCounterManager, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, StylesheetManager stylesheetManager, ThemeManager themeManager, com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration, com.google.common.base.Supplier<DarkFeaturesManager> darkFeaturesManagerSupplier)
public void writeConfluenceResourceTags(@Nonnull Writer writer, @Nullable ConfluenceWebResourceService.Style style, @Nullable String spaceKey)
ConfluenceWebResourceService
Internally Web Resources module is used to output most of the resources, with some Confluence theme specific resources added to the mix.
writeConfluenceResourceTags
in interface ConfluenceWebResourceService
writer
- writer to write the tags tostyle
- style to apply if anyspaceKey
- current space if anyCopyright © 2003–2015 Atlassian. All rights reserved.