|Modifier and Type||Method and Description|
Apply a filter for the content to search, if this is not specified the latest version of the content will be used.
since 5.8, use
Apply a filter of the macroId, this is currently mandatory.
ContentMacroService.MacroInstanceFinder withMacroId(String macroId)
If the macroId is not specified in the storage format of the content, then this finder will match against the macro body hash. This is to preserve backwards compatibility.
macroId- - The macroId identifying the macro
@Deprecated ContentMacroService.MacroInstanceFinder withHash(String hash)
This method calls the
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 body
ContentMacroService.MacroInstanceFinder withContentVersion(int version)
version- The version of the page to scan for the macro
Copyright © 2003–2017 Atlassian. All rights reserved.