Class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ContentMacroService.MacroInstanceFinder>
-
- com.atlassian.confluence.rest.client.impl.RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
-
- All Implemented Interfaces:
RemoteContentMacroService.RemoteMacroFinder
,RemoteSingleFetcher<MacroInstance>
- Enclosing class:
- RemoteContentMacroServiceImpl
public class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl extends AbstractRemoteService<ContentMacroService.MacroInstanceFinder> implements RemoteContentMacroService.RemoteMacroFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RemoteMacroFinderImpl(AbstractRemoteService otherService, ContentId contentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CompletionStage<Optional<MacroInstance>>
fetchCompletionStage()
RemoteContentMacroService.RemoteMacroFinder
withContentVersion(int versionNumber)
RemoteContentMacroService.RemoteMacroFinder
withHash(String hash)
Deprecated.since 5.8, usewithMacroId(String)
RemoteContentMacroService.RemoteMacroFinder
withMacroId(String macroId)
-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFutureOptional, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, postVoidCompletionStage, putCompletionStage, putFuture
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetch, fetchOne, fetchOneOrNull, fetchOrNull, fetchOrNullCompletionStage
-
-
-
-
Constructor Detail
-
RemoteMacroFinderImpl
protected RemoteMacroFinderImpl(AbstractRemoteService otherService, ContentId contentId)
-
-
Method Detail
-
withHash
@Deprecated public RemoteContentMacroService.RemoteMacroFinder withHash(String hash)
Deprecated.since 5.8, usewithMacroId(String)
- Specified by:
withHash
in interfaceRemoteContentMacroService.RemoteMacroFinder
- Parameters:
hash
- The hash identifying the body of the macro- Returns:
- this
-
withMacroId
public RemoteContentMacroService.RemoteMacroFinder withMacroId(String macroId)
- Specified by:
withMacroId
in interfaceRemoteContentMacroService.RemoteMacroFinder
- Parameters:
macroId
- The macroId identifying the body of the macro- Returns:
- this
-
withContentVersion
public RemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
- Specified by:
withContentVersion
in interfaceRemoteContentMacroService.RemoteMacroFinder
- Parameters:
versionNumber
- The version of the page to scan for the macro- Returns:
- this
-
fetchCompletionStage
public CompletionStage<Optional<MacroInstance>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<MacroInstance>
-
-