From e355b1927914aec7e22b4c3da98d9e75c48a57d5 Mon Sep 17 00:00:00 2001 From: Serhat Yenican <104850907+serhat-yenican-sonarsource@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:45:11 +0100 Subject: CODEFIX-192 Add ai code fix enablement to audit logs (#12238) --- .../core/config/AiCodeFixEnablementConstants.java | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sonar-core/src/main/java/org/sonar/core/config/AiCodeFixEnablementConstants.java (limited to 'sonar-core') diff --git a/sonar-core/src/main/java/org/sonar/core/config/AiCodeFixEnablementConstants.java b/sonar-core/src/main/java/org/sonar/core/config/AiCodeFixEnablementConstants.java new file mode 100644 index 00000000000..6e4ee5ca133 --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/config/AiCodeFixEnablementConstants.java @@ -0,0 +1,28 @@ +/* + * SonarQube + * Copyright (C) 2009-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +package org.sonar.core.config; + +public final class AiCodeFixEnablementConstants { + public static final String SUGGESTION_FEATURE_ENABLED_PROPERTY = "sonar.ai.suggestions.enabled"; + + private AiCodeFixEnablementConstants() { + } + +} -- cgit v1.2.3