Interface SafeMustacheTemplateFactory
- All Known Implementing Classes:
DefaultSafeMustacheTemplateFactory
public interface SafeMustacheTemplateFactory
Factory that produces a
SafeMustacheTemplate that can be used to
substitute input values in an automation rule safely. Only methods
annotated with InputSubstitutionSafe can be substituted.-
Method Summary
Modifier and TypeMethodDescriptionCreates aSafeMustacheTemplateinstance for the template provided that can be used to substitute rule component inputs safely.
-
Method Details
-
compile
Creates aSafeMustacheTemplateinstance for the template provided that can be used to substitute rule component inputs safely.- Parameters:
template- The template string used to substitute inputs- Returns:
- A safe input substitution that can be re-used.
-