public class MacroExecutionContext extends Object
Macro.execute(java.util.Map, String, com.atlassian.renderer.RenderContext)
).Constructor and Description |
---|
MacroExecutionContext(Map<String,String> params,
String body,
PageContext pageContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Returns the body of the macro.
|
ContentEntityObject |
getContent()
Returns the
ContentEntityObject associated with this macro. |
PageContext |
getPageContext()
Returns the
PageContext of the macro. |
Map<String,String> |
getParams()
Returns the macro parameters and their values.
|
public MacroExecutionContext(Map<String,String> params, String body, PageContext pageContext)
params
- the parameters passed to the macro from the pagebody
- the body of the macro (the text contained between the start
and end tags)pageContext
- the PageContext
that the macro is called
frompublic Map<String,String> getParams()
public String getBody()
public PageContext getPageContext()
PageContext
of the macro.PageContext
of the macro.public ContentEntityObject getContent()
ContentEntityObject
associated with this macro.ContentEntityObject
associated with this macroCopyright © 2003–2019 Atlassian. All rights reserved.