com.atlassian.confluence.renderer.v2.macros
Class RecentlyUsedLabelsMacro
java.lang.Object
com.atlassian.renderer.v2.macro.BaseMacro
com.atlassian.confluence.renderer.v2.macros.RecentlyUsedLabelsMacro
- All Implemented Interfaces:
- Macro
- public class RecentlyUsedLabelsMacro
- extends BaseMacro
Show the 'n' most recently modified labels. The number of labels returned by this macro is limited to 100.
This macro supports the three scopes: global, space and personal.
This macro supports two styles. Compact and tablular. Compact will render a simple comma separated list and tabular
will render a table of information related to the recent label usage. In particular, the name of the user that added
the label to the content, and the page to which it was added.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecentlyUsedLabelsMacro
public RecentlyUsedLabelsMacro()
setLabelManager
public void setLabelManager(LabelManager manager)
execute
public String execute(Map parameters,
String string,
RenderContext renderContext)
throws MacroException
- Throws:
MacroException
getBodyRenderMode
public RenderMode getBodyRenderMode()
hasBody
public boolean hasBody()
isInline
public boolean isInline()