Class SuperBatchWebResources.SuperBatchWebResourcesBuilder
java.lang.Object
com.atlassian.confluence.api.model.content.webresource.SuperBatchWebResources.SuperBatchWebResourcesBuilder
- All Implemented Interfaces:
WebResourcesBuilder
- Enclosing class:
- SuperBatchWebResources
public static class SuperBatchWebResources.SuperBatchWebResourcesBuilder
extends Object
implements WebResourcesBuilder
Builder for
SuperBatchWebResources
- Since:
- 5.10
-
Method Summary
Modifier and TypeMethodDescriptionaddCollapsedTag
(ResourceType tagType) The builder should have a collapsed tag entry for the given resource type.addCollapsedUris
(ResourceType type) The builder should have a collapsed uri list for the given resource type.build()
metatags
(HtmlString metatags) tag
(ResourceType type, HtmlString htmlString) Add, or if the resource type is already added, replaces the existing tag with the given tag for the given resource type.tag
(Map<ResourceType, HtmlString> tags) Replaces the existing tags map with the given map.uris
(ResourceType type, List<URI> uris) Adds, or if the resource type is already added, replaces the existing uris for the given resource type with the new uris given.uris
(Map<ResourceType, List<URI>> uris) Replaces the existing uris map with the given map.
-
Method Details
-
metatags
-
uris
Description copied from interface:WebResourcesBuilder
Adds, or if the resource type is already added, replaces the existing uris for the given resource type with the new uris given.- Specified by:
uris
in interfaceWebResourcesBuilder
-
uris
Description copied from interface:WebResourcesBuilder
Replaces the existing uris map with the given map. The old map should be abandoned, and should not be used in the construcvtion of the final web resources entries- Specified by:
uris
in interfaceWebResourcesBuilder
-
addCollapsedUris
Description copied from interface:WebResourcesBuilder
The builder should have a collapsed uri list for the given resource type.- Specified by:
addCollapsedUris
in interfaceWebResourcesBuilder
-
tag
public SuperBatchWebResources.SuperBatchWebResourcesBuilder tag(ResourceType type, HtmlString htmlString) Description copied from interface:WebResourcesBuilder
Add, or if the resource type is already added, replaces the existing tag with the given tag for the given resource type.- Specified by:
tag
in interfaceWebResourcesBuilder
-
tag
Description copied from interface:WebResourcesBuilder
Replaces the existing tags map with the given map. The old map should be abandoned, and should not be used in the construcvtion of the final web resources entries.- Specified by:
tag
in interfaceWebResourcesBuilder
-
addCollapsedTag
Description copied from interface:WebResourcesBuilder
The builder should have a collapsed tag entry for the given resource type.- Specified by:
addCollapsedTag
in interfaceWebResourcesBuilder
-
build
-