From 7e914e1eb6b9cfcdbc43930e8b40b256e3846989 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Thu, 8 Sep 2011 23:49:59 +0400 Subject: SONAR-1091 New properties and category 'Duplications' --- .../main/java/org/sonar/api/CoreProperties.java | 31 +++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) (limited to 'sonar-plugin-api/src') diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java index 4cc9213044b..56e558cfd5b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java @@ -19,8 +19,6 @@ */ package org.sonar.api; -import org.sonar.api.resources.ProjectFileSystem; - /** * CoreProperties is used to group various properties of Sonar as well * as default values of configuration in a single place @@ -39,6 +37,11 @@ public interface CoreProperties { */ String CATEGORY_CODE_COVERAGE = "codeCoverage"; + /** + * @since 2.11 + */ + String CATEGORY_DUPLICATIONS = "duplications"; + /** * @since 2.11 */ @@ -81,7 +84,7 @@ public interface CoreProperties { String PROJECT_DESCRIPTION_PROPERTY = "sonar.projectDescription"; /** - * To determine value of this property use {@link ProjectFileSystem#getSourceCharset()}. + * To determine value of this property use {@link org.sonar.api.resources.ProjectFileSystem#getSourceCharset()}. * * @since 2.6 */ @@ -160,6 +163,28 @@ public interface CoreProperties { String CPD_IGNORE_IDENTIFIERS_DEFAULT_VALUE = "false"; String CPD_SKIP_PROPERTY = "sonar.cpd.skip"; + /** + * @since 2.11 + */ + String CPD_ENGINE = "sonar.cpd.engine"; + + /** + * @since 2.11 + * @see #CPD_ENGINE + */ + String CPD_ENGINE_DEFAULT_VALUE = "sonar"; + + /** + * @since 2.11 + */ + String CPD_CROSS_RPOJECT = "sonar.cpd.cross_project"; + + /** + * @since 2.11 + * @see #CPD_CROSS_RPOJECT + */ + boolean CPD_CROSS_RPOJECT_DEFAULT_VALUE = false; + /* Design */ /** -- cgit v1.2.3