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,
DarkFeaturesManager darkFeaturesManager,
ColourSchemeManager colourSchemeManager) |
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)
Deprecated.
since 5.9
|
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,
ColourSchemeManager colourSchemeManager)
Deprecated.
since 7.5
|
Modifier and Type | Method and Description |
---|---|
Map<ResourceType,Iterable<String>> |
computeConfluenceResourceUris(com.atlassian.fugue.Option<ConfluenceWebResourceService.Style> styleOpt,
com.atlassian.fugue.Option<String> spaceKeyOpt)
Deprecated.
|
void |
writeConfluenceResourceTags(@NonNull Writer writer,
@Nullable ConfluenceWebResourceService.Style style,
@Nullable String spaceKey)
Write all html resource tags to the given writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculateConfluenceResourceUris
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, DarkFeaturesManager darkFeaturesManager, ColourSchemeManager colourSchemeManager)
@Deprecated 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)
@Deprecated 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, ColourSchemeManager colourSchemeManager)
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 any@Deprecated public Map<ResourceType,Iterable<String>> computeConfluenceResourceUris(com.atlassian.fugue.Option<ConfluenceWebResourceService.Style> styleOpt, com.atlassian.fugue.Option<String> spaceKeyOpt)
ConfluenceWebResourceService.calculateConfluenceResourceUris(Style, String)
ConfluenceWebResourceService
computeConfluenceResourceUris
in interface ConfluenceWebResourceService
styleOpt
- style to apply, or none() if not displaying an admin page.spaceKeyOpt
- current space or none() if not displaying in the context of a spaceCopyright © 2003–2020 Atlassian. All rights reserved.