public static interface ContentMacroService.MacroInstanceFinder extends SingleFetcher<MacroInstance>
Modifier and Type | Method and Description |
---|---|
ContentMacroService.MacroInstanceFinder |
withContentVersion(int version)
Apply a filter for the content to search, if this is not specified
the latest version of the content will be used.
|
ContentMacroService.MacroInstanceFinder |
withHash(String hash)
Deprecated.
since 5.8, use
withMacroId(String) |
ContentMacroService.MacroInstanceFinder |
withMacroId(String macroId)
Apply a filter of the macroId, this is currently mandatory.
|
fetchOne, fetchOneOrNull
ContentMacroService.MacroInstanceFinder withMacroId(String macroId)
macroId
- - The macroId identifying the macro@Deprecated ContentMacroService.MacroInstanceFinder withHash(String hash)
withMacroId(String)
withMacroId(String)
passing the hash as
the macroId. This will preserve backwards compatibility of the API as
well as functionality.hash
- - The hash identifying the macro bodyContentMacroService.MacroInstanceFinder withContentVersion(int version)
version
- The version of the page to scan for the macroCopyright © 2003–2015 Atlassian. All rights reserved.