Interface TemplateProcessingResult
-
- All Known Implementing Classes:
DefaultTemplateProcessingResult
public interface TemplateProcessingResultA template processing result represents the result from a processedTemplateVariationDefinitionthrough aTemplateProcessor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.flowable.content.api.ContentItemgetContentItem()If the processed result is stored as a content item, this will return it.java.io.InputStreamgetInputStream()Returns the processed result as anInputStream.java.lang.StringgetProcessedContent()Returns the processed content as a string (in case the content is processed directly).TemplateHoldergetTemplateHolder()Returns the template holder containing all information like template definition and variation which was used to produce the result.
-
-
-
Method Detail
-
getProcessedContent
java.lang.String getProcessedContent()
Returns the processed content as a string (in case the content is processed directly).
-
getInputStream
java.io.InputStream getInputStream()
Returns the processed result as anInputStream. Callers are responsible for closing the stream.
-
getContentItem
org.flowable.content.api.ContentItem getContentItem()
If the processed result is stored as a content item, this will return it.
-
getTemplateHolder
TemplateHolder getTemplateHolder()
Returns the template holder containing all information like template definition and variation which was used to produce the result.
-
-