Package com.atlassian.bamboo.template
Interface TemplateRenderer
-
- All Known Implementing Classes:
BambooFreemarkerManager
public interface TemplateRendererInterface to render a template into the output
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrender(@Nullable String templatePath, @Nullable Map<String,Object> contextParams, @NotNull Writer writer)Render the given template to the given writer@Nullable Stringrender(@Nullable String templatePath, Map<String,Object> contextParams)@NotNull StringrenderText(@NotNull String text, @Nullable Map<String,Object> contextParams)@NotNull StringrenderWithoutActionContext(@Nullable String templatePath, @NotNull Map<String,Object> contextParams)
-
-
-
Method Detail
-
render
@Nullable @Nullable String render(@Nullable @Nullable String templatePath, Map<String,Object> contextParams)
-
renderWithoutActionContext
@NotNull @NotNull String renderWithoutActionContext(@Nullable @Nullable String templatePath, @NotNull @NotNull Map<String,Object> contextParams)
-
renderText
@NotNull @NotNull String renderText(@NotNull @NotNull String text, @Nullable @Nullable Map<String,Object> contextParams)
-
render
void render(@Nullable @Nullable String templatePath, @Nullable @Nullable Map<String,Object> contextParams, @NotNull @NotNull Writer writer) throws IOExceptionRender the given template to the given writer- Parameters:
templatePath- The path of the templatecontextParams- The template context paramswriter- The writer to write to- Throws:
IOException- If an error occurred while writing to the writer
-
-