Search in sources :

Example 1 with RoleConfigCreateCommand

use of com.thoughtworks.go.config.update.RoleConfigCreateCommand in project gocd by gocd.

the class RoleConfigService method create.

public void create(Username currentUser, Role newRole, LocalizedOperationResult result) {
    validatePluginRoleMetadata(newRole);
    update(currentUser, newRole, result, new RoleConfigCreateCommand(goConfigService, newRole, currentUser, result));
}
Also used : RoleConfigCreateCommand(com.thoughtworks.go.config.update.RoleConfigCreateCommand)

Aggregations

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