aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-common
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2023-12-04 14:49:57 +0100
committersonartech <sonartech@sonarsource.com>2023-12-22 20:03:02 +0000
commitfb90e3a6491a517d7cb41bece875635f835f4845 (patch)
treec934047d6a1671137f1139057f08d0058b01fbe9 /server/sonar-auth-common
parentd763c3a1463725bce4e95c894bd71cc551aa3096 (diff)
downloadsonarqube-fb90e3a6491a517d7cb41bece875635f835f4845.tar.gz
sonarqube-fb90e3a6491a517d7cb41bece875635f835f4845.zip
SONAR-21119 Add GitLabManagedInstanceService, reuse logic from GitHub
Diffstat (limited to 'server/sonar-auth-common')
-rw-r--r--server/sonar-auth-common/src/main/java/org/sonar/auth/DevOpsPlatformSettings.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/server/sonar-auth-common/src/main/java/org/sonar/auth/DevOpsPlatformSettings.java b/server/sonar-auth-common/src/main/java/org/sonar/auth/DevOpsPlatformSettings.java
new file mode 100644
index 00000000000..3f9bf239ee6
--- /dev/null
+++ b/server/sonar-auth-common/src/main/java/org/sonar/auth/DevOpsPlatformSettings.java
@@ -0,0 +1,30 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2023 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.auth;
+
+public interface DevOpsPlatformSettings {
+
+ String getDevOpsPlatform();
+
+ boolean isProvisioningEnabled();
+
+ boolean isProjectVisibilitySynchronizationActivated();
+
+}