public class TemplateExecutor extends Object
Constructor and Description |
---|
TemplateExecutor(ThemeResolver themeResolver) |
Modifier and Type | Method and Description |
---|---|
org.jline.utils.AttributedString |
render(String template,
Map<String,Object> attributes)
Render template with a given attributes.
|
org.jline.utils.AttributedString |
renderGroup(String template,
Map<String,Object> attributes)
Render template group with a given attributes expecting to find instance
named
main . |
public TemplateExecutor(ThemeResolver themeResolver)
public org.jline.utils.AttributedString render(String template, Map<String,Object> attributes)
template
- the ST templateattributes
- the ST template attributespublic org.jline.utils.AttributedString renderGroup(String template, Map<String,Object> attributes)
main
.template
- the ST templateattributes
- the ST template attributesCopyright © 2024. All rights reserved.