Package com.hubspot.jinjava.interpret
Class RenderResult
- java.lang.Object
-
- com.hubspot.jinjava.interpret.RenderResult
-
public class RenderResult extends Object
-
-
Constructor Summary
Constructors Constructor Description RenderResult(TemplateError fromException, Context context, List<TemplateError> errors)
RenderResult(String result)
RenderResult(String output, Context context, List<TemplateError> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Context
getContext()
List<TemplateError>
getErrors()
String
getOutput()
boolean
hasErrors()
RenderResult
withOutput(String newOutput)
-
-
-
Constructor Detail
-
RenderResult
public RenderResult(String output, Context context, List<TemplateError> errors)
-
RenderResult
public RenderResult(TemplateError fromException, Context context, List<TemplateError> errors)
-
RenderResult
public RenderResult(String result)
-
-
Method Detail
-
hasErrors
public boolean hasErrors()
-
getErrors
public List<TemplateError> getErrors()
-
getContext
public Context getContext()
-
getOutput
public String getOutput()
-
withOutput
public RenderResult withOutput(String newOutput)
-
-