public class RecentlyUpdatedContentMacro
extends com.atlassian.renderer.v2.macro.BaseMacro
Modifier and Type | Field and Description |
---|---|
static String |
MACRO_NAME |
static int |
UPDATES_MAX_SIZE |
static int |
UPDATES_MIN_SIZE |
static int |
UPDATES_STEP_SIZE |
Constructor and Description |
---|
RecentlyUpdatedContentMacro(RecentlyUpdatedContentService recentlyUpdatedContentService,
RecentlyUpdatedMacroTabProvider tabProvider,
LabelManager labelManager,
com.atlassian.event.api.EventPublisher eventPublisher,
HttpContext httpContext,
I18NBeanFactory i18NBeanFactory,
TemplateRenderer templateRenderer,
LocaleManager localeManager,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService) |
Modifier and Type | Method and Description |
---|---|
String |
execute(Map macroParamsUnchecked,
String body,
com.atlassian.renderer.RenderContext renderContext) |
com.atlassian.renderer.v2.RenderMode |
getBodyRenderMode() |
boolean |
hasBody() |
public static final String MACRO_NAME
public static final int UPDATES_STEP_SIZE
public static final int UPDATES_MAX_SIZE
public static final int UPDATES_MIN_SIZE
public RecentlyUpdatedContentMacro(RecentlyUpdatedContentService recentlyUpdatedContentService, RecentlyUpdatedMacroTabProvider tabProvider, LabelManager labelManager, com.atlassian.event.api.EventPublisher eventPublisher, HttpContext httpContext, I18NBeanFactory i18NBeanFactory, TemplateRenderer templateRenderer, LocaleManager localeManager, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService)
public String execute(Map macroParamsUnchecked, String body, com.atlassian.renderer.RenderContext renderContext) throws com.atlassian.renderer.v2.macro.MacroException
com.atlassian.renderer.v2.macro.MacroException
public boolean hasBody()
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
Copyright © 2003–2020 Atlassian. All rights reserved.