public interface TemplateParser
| Modifier and Type | Method and Description |
|---|---|
void |
parse(java.lang.String templateName,
com.xebialabs.deployit.plugin.api.udm.Deployed<?,?> deployedCi,
java.util.Map<java.lang.String,?> context,
java.io.OutputStream out)
Parse the template identified by the
templateName using deployed CI and the parameters provided by the context. |
void |
parse(java.lang.String templateName,
java.util.Map<java.lang.String,?> context,
java.io.OutputStream out)
Parse the template identified by the
templateName using the parameters provided by the context. |
void parse(java.lang.String templateName,
java.util.Map<java.lang.String,?> context,
java.io.OutputStream out)
throws TemplateParseException
templateName using the parameters provided by the context. The output is send to the outputstream out.templateName - Name of the template to parse.context - The context with parameters/variables using during parsing.out - The output stream that will contain the parsed template.TemplateParseException - Thrown if an error occurs while parsing the template.void parse(java.lang.String templateName,
com.xebialabs.deployit.plugin.api.udm.Deployed<?,?> deployedCi,
java.util.Map<java.lang.String,?> context,
java.io.OutputStream out)
throws TemplateParseException
templateName using deployed CI and the parameters provided by the context. The output is send to the outputstream out
.templateName - Name of the template to parse.deployedCi - The deployed CI used during parsing.context - The context with parameters/variables using during parsing.out - The output stream that will contain the parsed template.TemplateParseException - Thrown if an error occurs while parsing the template.