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.SuperBatchWebResourcesBuilderaddCollapsedTag(ResourceType tagType)The builder should have a collapsed tag entry for the given resource type.SuperBatchWebResources.SuperBatchWebResourcesBuilderaddCollapsedUris(ResourceType type)The builder should have a collapsed uri list for the given resource type.SuperBatchWebResourcesbuild()SuperBatchWebResources.SuperBatchWebResourcesBuildermetatags(HtmlString metatags)SuperBatchWebResources.SuperBatchWebResourcesBuildertag(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.SuperBatchWebResourcesBuildertag(Map<ResourceType,HtmlString> tags)Replaces the existing tags map with the given map.SuperBatchWebResources.SuperBatchWebResourcesBuilderuris(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.SuperBatchWebResourcesBuilderuris(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:WebResourcesBuilderAdds, or if the resource type is already added, replaces the existing uris for the given resource type with the new uris given.- Specified by:
 urisin interfaceWebResourcesBuilder
 
- 
uris
public SuperBatchWebResources.SuperBatchWebResourcesBuilder uris(Map<ResourceType,List<URI>> uris)
Description copied from interface:WebResourcesBuilderReplaces 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:
 urisin interfaceWebResourcesBuilder
 
- 
addCollapsedUris
public SuperBatchWebResources.SuperBatchWebResourcesBuilder addCollapsedUris(ResourceType type)
Description copied from interface:WebResourcesBuilderThe builder should have a collapsed uri list for the given resource type.- Specified by:
 addCollapsedUrisin interfaceWebResourcesBuilder
 
- 
tag
public SuperBatchWebResources.SuperBatchWebResourcesBuilder tag(ResourceType type, HtmlString htmlString)
Description copied from interface:WebResourcesBuilderAdd, or if the resource type is already added, replaces the existing tag with the given tag for the given resource type.- Specified by:
 tagin interfaceWebResourcesBuilder
 
- 
tag
public SuperBatchWebResources.SuperBatchWebResourcesBuilder tag(Map<ResourceType,HtmlString> tags)
Description copied from interface:WebResourcesBuilderReplaces 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:
 tagin interfaceWebResourcesBuilder
 
- 
addCollapsedTag
public SuperBatchWebResources.SuperBatchWebResourcesBuilder addCollapsedTag(ResourceType tagType)
Description copied from interface:WebResourcesBuilderThe builder should have a collapsed tag entry for the given resource type.- Specified by:
 addCollapsedTagin interfaceWebResourcesBuilder
 
- 
build
public SuperBatchWebResources build()
 
 - 
 
 -