Modifier and Type | Class and Description |
---|---|
class |
CustomWebResourceAddingMacro |
class |
NaughtyWritingToDBWhilstRenderingMacro
A macro that writes to the DB whilst rendering, exploding on readOnly transactions
|
Modifier and Type | Method and Description |
---|---|
boolean |
MacroMarshaller.handles(Macro macro) |
boolean |
EditorUnknownMacroMarshaller.handles(Macro macro) |
boolean |
EditorBodyMacroMarshaller.handles(Macro macro) |
boolean |
EditorBodilessMacroMarshaller.handles(Macro macro) |
boolean |
CustomPlaceholderEditorMarshaller.handles(Macro macro) |
boolean |
CustomImageEditorMacroMarshaller.handles(Macro macro) |
Streamable |
MacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshall the supplied macro.
|
Streamable |
EditorBodyMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
EditorBodilessMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomPlaceholderEditorMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomImageEditorMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewMacroWrapper.executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters)
Deprecated.
since 5.9.0. Please use `wrap` instead
|
Streamable |
DefaultViewMacroWrapper.executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
MacroAsyncRenderWhitelist.isAsyncRenderSafe(MacroDefinition macroDefinition,
Class<? extends Macro> macroClass) |
Modifier and Type | Class and Description |
---|---|
class |
AllMacroMetadataCache<T extends com.atlassian.plugin.ModuleDescriptor<Macro> & MacroMetadataSource>
Caches a map of macro metadata by macro names loaded using the given a
macro module descriptor class and a macro module descriptor predicate.
|
class |
AllMacroMetadataLoader<T extends com.atlassian.plugin.ModuleDescriptor<Macro> & MacroMetadataSource>
Loads a map of macro metadata by macro names when given a macro module
descriptor class and a macro module descriptor predicate.
|
interface |
AllMacroMetadataProvider<T extends com.atlassian.plugin.ModuleDescriptor<Macro> & MacroMetadataSource>
Provider that returns a map of macro metadata by macro names when given a
macro module descriptor class and a macro module descriptor predicate.
|
Modifier and Type | Method and Description |
---|---|
Map<String,MacroMetadata> |
AllMacroMetadataLoader.apply(Class<T> descriptorClass,
com.atlassian.plugin.predicate.ModuleDescriptorPredicate<Macro> descriptorPredicate) |
Map<String,MacroMetadata> |
AllMacroMetadataCache.apply(Class<T> descriptorClass,
com.atlassian.plugin.predicate.ModuleDescriptorPredicate<Macro> descriptorPredicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
BigPipeSettingsManager.isOptedIn(String pluginKey,
String moduleName,
Macro macro) |
Modifier and Type | Interface and Description |
---|---|
interface |
BigPipeMacro
A specialised Macro type that can provide specific hints to Bigpipe on how to render its placeholders.
|
interface |
StreamableMacro
Macro that consumes and produces Streamables instead of Strings.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericVelocityMacro
A configurable and generic macro that renders a Velocity template as part of its execution.
|
class |
LazyLoadingMacroWrapper
Used to wrap a
Macro in a LazyReference . |
class |
StreamableMacroAdapter
Adapter for the
StreamableMacro interface that provides a default implementation of the redundant
execute method. |
class |
V2CompatibilityMacro
A wrapper macro that retains compatibility with our old V2 macros.
|
Modifier and Type | Method and Description |
---|---|
Macro |
LazyLoadingMacroWrapper.getMacro() |
Constructor and Description |
---|
LazyLoadingMacroWrapper(com.atlassian.util.concurrent.LazyReference<Macro> delegate) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMacroMetadataProvider<T extends com.atlassian.plugin.ModuleDescriptor<Macro> & MacroMetadataSource> |
Constructor and Description |
---|
DefaultMacroMetadataProvider(AllMacroMetadataProvider<T> allMacroMetadataProvider,
Class<T> descriptorClass,
com.atlassian.plugin.predicate.ModuleDescriptorPredicate<Macro> descriptorPredicate) |
Modifier and Type | Method and Description |
---|---|
void |
MacroCounter.addMacroUsage(MacroDefinition macroDefinition,
Macro macro)
Record a single usage of the given macro.
|
void |
DefaultMacroCounter.addMacroUsage(MacroDefinition macroDefinition,
Macro macro) |
static MacroMetricsKey |
MacroMetricsKey.createFrom(MacroDefinition macroDefinition,
Macro macro) |
Modifier and Type | Class and Description |
---|---|
class |
UnmigratedBlockWikiMarkupMacro
This macro will render it's body using the V2 Renderer.
|
class |
UnmigratedInlineWikiMarkupMacro
This macro will render it's body using the V2 Renderer.
|
Modifier and Type | Method and Description |
---|---|
Macro |
XhtmlMacroManager.getMacroByName(String macroName) |
Macro |
V2CompatibilityMacroManager.getMacroByName(String macroName) |
Macro |
UserMacroPluginMacroManager.getMacroByName(String macroName) |
Macro |
UserMacroLibraryMacroManager.getMacroByName(String macroName) |
Macro |
MacroManager.getMacroByName(String macroName)
Gives the
Macro registered with the
given name, or null if there is none registered with the manager. |
Macro |
DelegatingReadOnlyMacroManager.getMacroByName(String macroName) |
static Macro |
XhtmlMacroManager.unwrapMacroProxy(Macro proxy)
Unwraps a macro proxy that is wrapped with a
ResourceAwareMacroInvocationHandler . |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.LazyReference<Macro> |
XhtmlMacroManager.createLazyMacroReference(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor) |
com.atlassian.util.concurrent.LazyReference<Macro> |
V2CompatibilityMacroManager.createLazyMacroReference(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor) |
com.atlassian.util.concurrent.LazyReference<Macro> |
UserMacroPluginMacroManager.createLazyMacroReference(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor) |
com.atlassian.util.concurrent.LazyReference<Macro> |
UserMacroLibraryMacroManager.createLazyMacroReference(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor) |
com.atlassian.util.concurrent.LazyReference<Macro> |
MacroManager.createLazyMacroReference(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor)
Macros are lazy loaded to avoid plugin module ordering problems like CONF-13386.
|
com.atlassian.util.concurrent.LazyReference<Macro> |
DelegatingReadOnlyMacroManager.createLazyMacroReference(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor) |
Map<String,Macro> |
XhtmlMacroManager.getMacros() |
Modifier and Type | Method and Description |
---|---|
void |
XhtmlMacroManager.registerMacro(String name,
Macro macro) |
void |
V2CompatibilityMacroManager.registerMacro(String name,
Macro macro) |
void |
UserMacroPluginMacroManager.registerMacro(String name,
Macro macro) |
void |
UserMacroLibraryMacroManager.registerMacro(String name,
Macro macro) |
void |
MacroManager.registerMacro(String name,
Macro macro)
Registers a new macro with the given name.
|
void |
DelegatingReadOnlyMacroManager.registerMacro(String name,
Macro macro) |
static Macro |
XhtmlMacroManager.unwrapMacroProxy(Macro proxy)
Unwraps a macro proxy that is wrapped with a
ResourceAwareMacroInvocationHandler . |
Modifier and Type | Method and Description |
---|---|
Macro |
UserMacroModuleDescriptor.createModule() |
Macro |
XhtmlMacroModuleDescriptor.getModule() |
Macro |
UserMacroModuleDescriptor.getModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
OutputDeviceTypeMacroModuleDescriptorPredicate.matches(com.atlassian.plugin.ModuleDescriptor<? extends Macro> moduleDescriptor) |
Modifier and Type | Class and Description |
---|---|
class |
LinkMacro
Generates a link to the given content - including external content.
|
Modifier and Type | Class and Description |
---|---|
class |
LoremIpsumMacro |
Modifier and Type | Method and Description |
---|---|
Macro |
UserMacroConfig.toMacro() |
Modifier and Type | Method and Description |
---|---|
Macro |
V2UserMacroAdapter.getXhtmlMacro() |
Constructor and Description |
---|
V2UserMacroAdapter(Macro xhtmlUserMacro) |
Modifier and Type | Class and Description |
---|---|
class |
ProcessedBodyMacro |
class |
UnprocessedBodyMacro |
Modifier and Type | Class and Description |
---|---|
class |
ParameterJsonMacro
A test macro that outputs its parameters as a JSON string.
|
Copyright © 2003–2015 Atlassian. All rights reserved.