Interface RemoteContentBlueprintService
-
- All Known Implementing Classes:
RemoteContentBlueprintServiceImpl
@ExperimentalApi public interface RemoteContentBlueprintService
ContentBlueprintService
implementation that communicates with Confluence remotely using the Confluence REST API.Provides future returning equivalents for the methods in ContentBlueprintService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<Content>
publishInstance(Content content, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<Content>
publishInstanceCompletionStage(Content content, Expansion... expansions)
Publishes the draft from blueprints.
-
-
-
Method Detail
-
publishInstance
@Deprecated com.atlassian.util.concurrent.Promise<Content> publishInstance(Content content, Expansion... expansions)
Deprecated.since 7.0.1. UsepublishInstanceCompletionStage(Content, Expansion...)
instead.Publishes the draft from blueprints. This will change the status of the current draft to current.- Parameters:
content
- new content to be createdexpansions
- an array list of properties to expand on the content.- Returns:
- a Promise that resolves to the published content, with the given expansions
-
publishInstanceCompletionStage
CompletionStage<Content> publishInstanceCompletionStage(Content content, Expansion... expansions)
Publishes the draft from blueprints. This will change the status of the current draft to current.- Parameters:
content
- new content to be createdexpansions
- an array list of properties to expand on the content.- Returns:
- a CompletionStage that resolves to the published content, with the given expansions
- Since:
- 7.0.1
-
-