diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-01-31 16:13:38 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-02-01 14:13:03 +0100 |
commit | f1cfcc3fdc70b379b20db44f0b3ba9b10c54ce58 (patch) | |
tree | cdc64d2a164562529b84b79b855510a74b8c8595 /sonar-plugin-api | |
parent | d6393623490fb38fa14c7e3a4a72bbcdbc47b835 (diff) | |
download | sonarqube-f1cfcc3fdc70b379b20db44f0b3ba9b10c54ce58.tar.gz sonarqube-f1cfcc3fdc70b379b20db44f0b3ba9b10c54ce58.zip |
SONAR-6393 Remove quality model extension point
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java | 44 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtModel.java | 52 |
2 files changed, 0 insertions, 96 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java deleted file mode 100644 index 52d9cd48a6d..00000000000 --- a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2016 SonarSource SA - * mailto:contact 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.api.server.debt; - -import javax.annotation.CheckForNull; - -/** - * @since 4.3 - * @deprecated in 5.2. It will be dropped in version 6.0 (see https://jira.sonarsource.com/browse/SONAR-6393) - */ -@Deprecated -public interface DebtCharacteristic { - - /** - * Only used when a characteristic is disabled (id is -1 in dto) by the user. - */ - String NONE = "NONE"; - - String key(); - - String name(); - - @CheckForNull - Integer order(); - - boolean isSub(); -} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtModel.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtModel.java deleted file mode 100644 index 392916a17fa..00000000000 --- a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtModel.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2016 SonarSource SA - * mailto:contact 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.api.server.debt; - -import java.util.List; -import javax.annotation.CheckForNull; -import org.sonar.api.ce.ComputeEngineSide; -import org.sonar.api.server.ServerSide; - -/** - * @since 4.3 - * @deprecated in 5.2. It will be dropped in version 6.0 (see https://jira.sonarsource.com/browse/SONAR-6393) - */ -@ServerSide -@ComputeEngineSide -@Deprecated -public interface DebtModel { - - /** - * @return an empty list since 5.5. - */ - List<DebtCharacteristic> allCharacteristics(); - - /** - * @return an empty list since 5.5. - */ - List<DebtCharacteristic> characteristics(); - - /** - * @return null since 5.5. - */ - @CheckForNull - DebtCharacteristic characteristicByKey(String key); - -} |