From dddd9fda7f80181eb335ea79b152acd10bd473a7 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Thu, 19 Feb 2015 16:06:11 +0100 Subject: [PATCH] SONAR-6199 Update rule activation parameter descriptions --- .../server/qualityprofile/ws/RuleActivationActions.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RuleActivationActions.java b/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RuleActivationActions.java index f5488b20206..a2c7758cdb1 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RuleActivationActions.java +++ b/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RuleActivationActions.java @@ -74,7 +74,7 @@ public class RuleActivationActions implements ServerComponent { activate.createParam(PARAMS) .setDescription(String.format("Parameters as semi-colon list of =, for example " + - "'params=key1=v1;key2=v2'. Ignored if parameter %s is true.", RESET)); + "'params=key1=v1;key2=v2'. Ignored if parameter %s is true.", RESET)); activate.createParam(RESET) .setDescription("Reset severity and parameters of activated rule. Set the values defined on parent profile " + @@ -99,12 +99,12 @@ public class RuleActivationActions implements ServerComponent { private void defineActiveRuleKeyParameters(WebService.NewAction action) { action.createParam(PROFILE_KEY) - .setDescription("Key of Quality profile") + .setDescription("Key of Quality profile, can be obtained through api/profiles/list") .setRequired(true) - .setExampleValue("Sonar way:java"); + .setExampleValue("java-sonar-way-80423"); action.createParam(RULE_KEY) - .setDescription("Key of the rule to activate") + .setDescription("Key of the rule") .setRequired(true) .setExampleValue("squid:AvoidCycles"); } -- 2.39.5