public interface TemplateRenderer
Modifier and Type | Method and Description |
---|---|
String |
render(String templatePath,
Map<String,Object> contextParams) |
void |
render(String templatePath,
Map<String,Object> contextParams,
Writer writer)
Render the given template to the given writer
|
String |
renderText(String text,
Map<String,Object> contextParams) |
String |
renderWithoutActionContext(String templatePath,
Map<String,Object> contextParams) |
@NotNull String renderWithoutActionContext(@Nullable String templatePath, @NotNull Map<String,Object> contextParams)
@NotNull String renderText(@NotNull String text, @Nullable Map<String,Object> contextParams)
void render(@Nullable String templatePath, @Nullable Map<String,Object> contextParams, @NotNull Writer writer) throws IOException
templatePath
- The path of the templatecontextParams
- The template context paramswriter
- The writer to write toIOException
- If an error occured while writing to the writerCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.