aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-10-04 16:25:18 +0200
committerDavid Gageot <david@gageot.net>2012-10-04 16:33:24 +0200
commit92f19cac9cd14ef8301112e560867f624a8af740 (patch)
tree67a2e2fc48e3f31cf946233caf276eccfadc3098 /plugins
parent42a4237c3a54bc78b88d3e941ceb9cf6f72494bc (diff)
downloadsonarqube-92f19cac9cd14ef8301112e560867f624a8af740.tar.gz
sonarqube-92f19cac9cd14ef8301112e560867f624a8af740.zip
SONAR-3529 Improve property sets
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java52
1 files changed, 50 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
index 00e99053d24..e1c7f2eab74 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
@@ -130,19 +130,67 @@ import java.util.List;
@Property(
key = "sonar.test.jira.servers",
name = "Jira Servers",
+ description = "List of jira server definitions",
global = true,
project = true,
category = "DEV",
fields = {
@PropertyField(
+ key = "key",
+ name = "Key",
+ type = PropertyType.STRING,
+ indicativeSize = 10),
+ @PropertyField(
key = "url",
name = "Url",
description = "l'url du serveur jira",
- type = PropertyType.STRING),
+ type = PropertyType.STRING,
+ indicativeSize = 20),
@PropertyField(
key = "port",
name = "Port",
- type = PropertyType.INTEGER)}),
+ type = PropertyType.INTEGER,
+ indicativeSize = 5)}),
+ @Property(
+ key = "sonar.demo",
+ name = "Demo",
+ global = true,
+ project = true,
+ category = "DEV",
+ fields = {
+ @PropertyField(
+ key = "text",
+ name = "text",
+ type = PropertyType.TEXT),
+ @PropertyField(
+ key = "boolean",
+ name = "boolean",
+ type = PropertyType.BOOLEAN),
+ @PropertyField(
+ key = "float",
+ name = "float",
+ type = PropertyType.FLOAT),
+ @PropertyField(
+ key = "license",
+ name = "license",
+ type = PropertyType.LICENSE),
+ @PropertyField(
+ key = "metric",
+ name = "metric",
+ type = PropertyType.METRIC),
+ @PropertyField(
+ key = "password",
+ name = "password",
+ type = PropertyType.PASSWORD),
+ @PropertyField(
+ key = "regexp",
+ name = "regexp",
+ type = PropertyType.REGULAR_EXPRESSION),
+ @PropertyField(
+ key = "list",
+ name = "list",
+ type = PropertyType.SINGLE_SELECT_LIST,
+ options = {"AAA", "BBB"})}),
@Property(
key = "sonar.test.jira",
name = "Jira",