public interface ConfluenceWebResourceService
This service is meant to replace
ConfluenceWebResourceManager
that implements the now deprecated
WebResourceManager interface.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ConfluenceWebResourceService.Style
Style of a page.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ResourceType,Iterable<String>> |
computeConfluenceResourceUris(com.atlassian.fugue.Option<ConfluenceWebResourceService.Style> style,
com.atlassian.fugue.Option<String> spaceKey)
Computes the resource uris required by the given space.
|
void |
writeConfluenceColorCssTags(Writer writer,
ConfluenceWebResourceService.Style style,
String spaceKey)
Write color css resource tags to the given writer.
|
void |
writeConfluenceCssTags(Writer writer,
ConfluenceWebResourceService.Style style,
String spaceKey)
Write all css resource tags to the given writer.
|
void |
writeConfluenceScriptTags(Writer writer,
String spaceKey)
Write all script resource tags to the given writer.
|
void writeConfluenceCssTags(@Nonnull Writer writer, @Nullable ConfluenceWebResourceService.Style style, @Nullable String spaceKey)
writer - writer to write the tags tostyle - style to apply if anyspaceKey - current space if anyvoid writeConfluenceColorCssTags(@Nonnull Writer writer, @Nullable ConfluenceWebResourceService.Style style, @Nullable String spaceKey)
writer - writer to write the tags tostyle - style to apply if anyspaceKey - current space if anyvoid writeConfluenceScriptTags(@Nonnull Writer writer, @Nullable String spaceKey)
writer - writer to write the tags tospaceKey - current space if anyMap<ResourceType,Iterable<String>> computeConfluenceResourceUris(com.atlassian.fugue.Option<ConfluenceWebResourceService.Style> style, com.atlassian.fugue.Option<String> spaceKey)
style - style to apply, or none() if not displaying an admin page.spaceKey - current space or none() if not displaying in the context of a spaceCopyright © 2003–2016 Atlassian. All rights reserved.