public class RenderResult extends Object
Constructor and Description |
---|
RenderResult(String result) |
RenderResult(String output,
Context context,
List<TemplateError> errors) |
RenderResult(TemplateError fromException,
Context context,
List<TemplateError> errors) |
Modifier and Type | Method and Description |
---|---|
Context |
getContext() |
List<TemplateError> |
getErrors() |
String |
getOutput() |
boolean |
hasErrors() |
RenderResult |
withOutput(String newOutput) |
public RenderResult(String output, Context context, List<TemplateError> errors)
public RenderResult(TemplateError fromException, Context context, List<TemplateError> errors)
public RenderResult(String result)
public boolean hasErrors()
public List<TemplateError> getErrors()
public Context getContext()
public String getOutput()
public RenderResult withOutput(String newOutput)
Copyright © 2015. All rights reserved.