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));
}
Aggregations