Example usage for org.springframework.boot.autoconfigure.mustache MustacheEnvironmentCollector setEnvironment

List of usage examples for org.springframework.boot.autoconfigure.mustache MustacheEnvironmentCollector setEnvironment

Introduction

In this page you can find the example usage for org.springframework.boot.autoconfigure.mustache MustacheEnvironmentCollector setEnvironment.

Prototype

@Override
    public void setEnvironment(Environment environment) 

Source Link

Usage

From source file:org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration.java

private Collector collector() {
    MustacheEnvironmentCollector collector = new MustacheEnvironmentCollector();
    collector.setEnvironment(this.environment);
    return collector;
}