aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-09-08 23:49:59 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-09-09 00:34:17 +0400
commit7e914e1eb6b9cfcdbc43930e8b40b256e3846989 (patch)
tree8c2a7ea51785e1e5883fa299dd7ff9d19193c8e6 /sonar-plugin-api
parent691ae00bf9e8cdfe5bd5528f2c58f8c5415601e2 (diff)
downloadsonarqube-7e914e1eb6b9cfcdbc43930e8b40b256e3846989.tar.gz
sonarqube-7e914e1eb6b9cfcdbc43930e8b40b256e3846989.zip
SONAR-1091 New properties and category 'Duplications'
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java31
1 files changed, 28 insertions, 3 deletions
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
@@ -42,6 +40,11 @@ public interface CoreProperties {
/**
* @since 2.11
*/
+ String CATEGORY_DUPLICATIONS = "duplications";
+
+ /**
+ * @since 2.11
+ */
String CATEGORY_SECURITY = "security";
/**
@@ -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 */
/**