Module org.elasticsearch.xcore
Class MustacheTemplateEvaluator
java.lang.Object
org.elasticsearch.xpack.core.security.support.MustacheTemplateEvaluator
Utility class for evaluating Mustache templates at runtime.
-
Method Summary
-
Method Details
-
parseForScript
public static Script parseForScript(org.elasticsearch.xcontent.XContentParser parser, Map<String, Object> extraParams) throws IOException- Throws:
IOException
-
evaluate
public static String evaluate(ScriptService scriptService, org.elasticsearch.xcontent.XContentParser parser, Map<String, Object> extraParams) throws IOException- Throws:
IOException
-