diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-05 16:22:14 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-05 16:22:14 +0100 |
commit | 094521fd01f0f37ad98e2b28217a3f569be14609 (patch) | |
tree | d191cdd961a07691d2c36026b1019b4aace738bc | |
parent | ad0dec4dcd32b1a7348ac6e0cddbfb7c1b714446 (diff) | |
download | sonarqube-094521fd01f0f37ad98e2b28217a3f569be14609.tar.gz sonarqube-094521fd01f0f37ad98e2b28217a3f569be14609.zip |
SONAR-7129 Update documentation to state directories are not returned when limiting search
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/component/ws/TreeAction.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/ws/TreeAction.java b/server/sonar-server/src/main/java/org/sonar/server/component/ws/TreeAction.java index bf3a35414ee..06022e993d0 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/component/ws/TreeAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/component/ws/TreeAction.java @@ -87,13 +87,14 @@ public class TreeAction implements ComponentsWsAction { public void define(WebService.NewController context) { WebService.NewAction action = context.createAction(ACTION_TREE) .setDescription(format("Navigate through components based on the chosen strategy. The %s or the %s parameter must be provided.<br>" + - "Requires one of the following permissions:" + - "<ul>" + - "<li>'Administer System'</li>" + - "<li>'Administer' rights on the specified project</li>" + - "<li>'Browse' on the specified project</li>" + - "</ul>", - PARAM_BASE_COMPONENT_ID, PARAM_BASE_COMPONENT_KEY)) + "Requires one of the following permissions:" + + "<ul>" + + "<li>'Administer System'</li>" + + "<li>'Administer' rights on the specified project</li>" + + "<li>'Browse' on the specified project</li>" + + "</ul>" + + "When limiting search with the %s parameter, directories are not returned.", + PARAM_BASE_COMPONENT_ID, PARAM_BASE_COMPONENT_KEY, Param.TEXT_QUERY)) .setSince("5.4") .setResponseExample(getClass().getResource("tree-example.json")) .setHandler(this) |