in freemarker-generator-cli/src/main/java/org/apache/freemarker/generator/cli/task/FreeMarkerTask.java [74:89]
public Integer call() {
final Configuration configuration = configurationSupplier.get();
final List<OutputGenerator> outputGenerators = outputGeneratorsSupplier.get();
final Map<String, Object> sharedDataModel = sharedDataModelSupplier.get();
final List<DataSource> sharedDataSources = sharedDataSourcesSupplier.get();
final Map<String, Object> sharedParameters = sharedParametersSupplier.get();
outputGenerators.forEach(outputGenerator -> process(
configuration,
outputGenerator,
sharedDataModel,
sharedDataSources,
sharedParameters));
return SUCCESS_CODE;
}