Package com.atlassian.bamboo.plugin.web
Class FreemarkerWebPanelRenderer
java.lang.Object
com.atlassian.bamboo.plugin.web.FreemarkerWebPanelRenderer
- All Implemented Interfaces:
com.atlassian.plugin.web.api.renderer.WebPanelRenderer
public class FreemarkerWebPanelRenderer
extends Object
implements com.atlassian.plugin.web.api.renderer.WebPanelRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(String templateName, com.atlassian.plugin.Plugin plugin, Map<String, Object> context, Writer writer) void
renderFragment
(Writer writer, String fragment, com.atlassian.plugin.Plugin plugin, Map<String, Object> context) renderFragment
(String fragment, com.atlassian.plugin.Plugin plugin, Map<String, Object> context)
-
Constructor Details
-
FreemarkerWebPanelRenderer
-
-
Method Details
-
getResourceType
- Specified by:
getResourceType
in interfacecom.atlassian.plugin.web.api.renderer.WebPanelRenderer
-
render
public void render(String templateName, com.atlassian.plugin.Plugin plugin, Map<String, Object> context, Writer writer) throws com.atlassian.plugin.web.renderer.RendererException, IOException- Specified by:
render
in interfacecom.atlassian.plugin.web.api.renderer.WebPanelRenderer
- Throws:
com.atlassian.plugin.web.renderer.RendererException
IOException
-
renderFragment
public String renderFragment(String fragment, com.atlassian.plugin.Plugin plugin, Map<String, Object> context) throws com.atlassian.plugin.web.renderer.RendererException- Specified by:
renderFragment
in interfacecom.atlassian.plugin.web.api.renderer.WebPanelRenderer
- Throws:
com.atlassian.plugin.web.renderer.RendererException
-
renderFragment
public void renderFragment(Writer writer, String fragment, com.atlassian.plugin.Plugin plugin, Map<String, Object> context) throws com.atlassian.plugin.web.renderer.RendererException, IOException- Specified by:
renderFragment
in interfacecom.atlassian.plugin.web.api.renderer.WebPanelRenderer
- Throws:
com.atlassian.plugin.web.renderer.RendererException
IOException
-