use of com.thoughtworks.go.config.update.CreateTemplateConfigCommand in project gocd by gocd.
the class TemplateConfigService method createTemplateConfig.
public void createTemplateConfig(final Username currentUser, final PipelineTemplateConfig templateConfig, final LocalizedOperationResult result) {
validatePluggableTasks(templateConfig);
CreateTemplateConfigCommand command = new CreateTemplateConfigCommand(templateConfig, currentUser, securityService, result);
update(currentUser, result, command, templateConfig);
}
Aggregations