Class TextTemplatePart
java.lang.Object
io.aiven.commons.kafka.connector.common.templating.TextTemplatePart
- All Implemented Interfaces:
TemplatePart
A piece of static text extracted by the parser.
-
Method Summary
-
Method Details
-
render
Description copied from interface:TemplatePartRenders the template part using the bindings as necessary.- Specified by:
renderin interfaceTemplatePart- Parameters:
bindings- the binding to map parameters with.- Returns:
- the rendered string.
-
extract
Description copied from interface:TemplatePartExtracts the original template string from the rendered text.- Specified by:
extractin interfaceTemplatePart- Parameters:
captureGroup- the capture group to use for extraction.- Returns:
- the original string for this template.
-