Search in sources :

Example 1 with CreateTemplateConfigCommand

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);
}
Also used : CreateTemplateConfigCommand(com.thoughtworks.go.config.update.CreateTemplateConfigCommand)

Aggregations

CreateTemplateConfigCommand (com.thoughtworks.go.config.update.CreateTemplateConfigCommand)1