Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
protected TemplateContentProcessingBuilder |
templateContentProcessingBuilder |
Constructor and Description |
---|
ProcessTemplateContentCmd(TemplateContentProcessingBuilder templateContentProcessingBuilder) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkPayloadParameters(List<TemplateParameter> templateParameters,
Map<String,Object> payload,
String key) |
String |
execute(CommandContext commandContext) |
protected freemarker.template.Configuration |
getConfiguration() |
protected freemarker.template.Template |
getTemplate(String templateContent,
String key) |
String |
processTemplateContent(String templateContent,
List<TemplateParameter> templateParameters,
Map<String,Object> payload,
String key) |
protected static final org.slf4j.Logger logger
protected TemplateContentProcessingBuilder templateContentProcessingBuilder
public ProcessTemplateContentCmd(TemplateContentProcessingBuilder templateContentProcessingBuilder)
public String execute(CommandContext commandContext)
public String processTemplateContent(String templateContent, List<TemplateParameter> templateParameters, Map<String,Object> payload, String key)
protected void checkPayloadParameters(List<TemplateParameter> templateParameters, Map<String,Object> payload, String key)
protected freemarker.template.Configuration getConfiguration()