public class FlowableTemplateService extends Object implements TemplateService
A template service that simply delegates to the Activiti EL resolver.
| Constructor and Description | 
|---|
FlowableTemplateService(GearExpressionResolver expressionResolver)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
processTemplate(String templateText,
               List<AnyWorkObject> contextWorkObjects)
Process the specified template string in the context of the given work objects. 
 | 
String | 
processTemplate(String templateText,
               List<AnyWorkObject> contextWorkObjects,
               Map<String,Object> additionalContext)
Process the specified template in the context of the given work objects and the additional context. 
 | 
public FlowableTemplateService(GearExpressionResolver expressionResolver)
public String processTemplate(String templateText, List<AnyWorkObject> contextWorkObjects)
TemplateServiceProcess the specified template string in the context of the given work objects.
processTemplate in interface TemplateServicetemplateText - the template stringcontextWorkObjects - the context work objectspublic String processTemplate(String templateText, List<AnyWorkObject> contextWorkObjects, Map<String,Object> additionalContext)
TemplateServiceProcess the specified template in the context of the given work objects and the additional context.
processTemplate in interface TemplateServicetemplateText - the template stringcontextWorkObjects - the work object contextadditionalContext - the additional context, if the value is not resolved from the context work objectsCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.