public static interface RemoteContentMacroService.RemoteMacroFinder
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> |
fetchOne()
Fetch the macroinstance matching the with params from the remote server
|
com.atlassian.util.concurrent.Promise<MacroInstance> |
fetchOneOrNull()
Fetch the macroinstance matching the with params from the remote server
|
RemoteContentMacroService.RemoteMacroFinder |
withContentVersion(int versionNumber) |
RemoteContentMacroService.RemoteMacroFinder |
withHash(String hash)
Deprecated.
since 5.8, use
withMacroId(String) |
RemoteContentMacroService.RemoteMacroFinder |
withMacroId(String macroId) |
@Deprecated RemoteContentMacroService.RemoteMacroFinder withHash(String hash)
withMacroId(String)
hash
- The hash identifying the body of the macroRemoteContentMacroService.RemoteMacroFinder withMacroId(String macroId)
macroId
- The macroId identifying the body of the macroRemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
versionNumber
- The version of the page to scan for the macrocom.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> fetchOne()
com.atlassian.util.concurrent.Promise<MacroInstance> fetchOneOrNull()
Copyright © 2003–2017 Atlassian. All rights reserved.