Class DefaultSafeMustacheTemplateFactory
java.lang.Object
com.codebarrel.automation.api.component.smartvalues.impl.DefaultSafeMustacheTemplateFactory
- All Implemented Interfaces:
SafeMustacheTemplateFactory
@Component
public class DefaultSafeMustacheTemplateFactory
extends Object
implements SafeMustacheTemplateFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates aSafeMustacheTemplateinstance for the template provided that can be used to substitute rule component inputs safely.
-
Constructor Details
-
DefaultSafeMustacheTemplateFactory
-
-
Method Details
-
compile
Description copied from interface:SafeMustacheTemplateFactoryCreates aSafeMustacheTemplateinstance for the template provided that can be used to substitute rule component inputs safely.- Specified by:
compilein interfaceSafeMustacheTemplateFactory- Parameters:
template- The template string used to substitute inputs- Returns:
- A safe input substitution that can be re-used.
-