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 forSuperBatchWebResources
- Since:
- 5.10
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuperBatchWebResources.SuperBatchWebResourcesBuilder
addCollapsedTag(ResourceType tagType)
The builder should have a collapsed tag entry for the given resource type.SuperBatchWebResources.SuperBatchWebResourcesBuilder
addCollapsedUris(ResourceType type)
The builder should have a collapsed uri list for the given resource type.SuperBatchWebResources
build()
SuperBatchWebResources.SuperBatchWebResourcesBuilder
metatags(HtmlString metatags)
SuperBatchWebResources.SuperBatchWebResourcesBuilder
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.SuperBatchWebResources.SuperBatchWebResourcesBuilder
tag(Map<ResourceType,HtmlString> tags)
Replaces the existing tags map with the given map.SuperBatchWebResources.SuperBatchWebResourcesBuilder
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.SuperBatchWebResources.SuperBatchWebResourcesBuilder
uris(Map<ResourceType,List<URI>> uris)
Replaces the existing uris map with the given map.
-
-
-
Method Detail
-
metatags
public SuperBatchWebResources.SuperBatchWebResourcesBuilder metatags(HtmlString metatags)
-
uris
public SuperBatchWebResources.SuperBatchWebResourcesBuilder uris(ResourceType type, List<URI> 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
public SuperBatchWebResources.SuperBatchWebResourcesBuilder uris(Map<ResourceType,List<URI>> 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
public SuperBatchWebResources.SuperBatchWebResourcesBuilder addCollapsedUris(ResourceType type)
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
public SuperBatchWebResources.SuperBatchWebResourcesBuilder tag(Map<ResourceType,HtmlString> tags)
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
public SuperBatchWebResources.SuperBatchWebResourcesBuilder addCollapsedTag(ResourceType tagType)
Description copied from interface:WebResourcesBuilder
The builder should have a collapsed tag entry for the given resource type.- Specified by:
addCollapsedTag
in interfaceWebResourcesBuilder
-
build
public SuperBatchWebResources build()
-
-