diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-05-06 12:07:44 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-05-06 12:07:52 +0200 |
commit | f25d19f229d4e166452537232c4bc5e825e4a66b (patch) | |
tree | 699f1c1dcacbe2eda084e2f1bc0c31009f9733d2 /sonar-server | |
parent | 66da4bd8d44ca95decf0af414806669c417e4923 (diff) | |
download | sonarqube-f25d19f229d4e166452537232c4bc5e825e4a66b.tar.gz sonarqube-f25d19f229d4e166452537232c4bc5e825e4a66b.zip |
SONAR-5264 Fix documented possible values
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/qualitygate/ws/QGatesSearchAction.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/qualitygate/ws/QGatesSearchAction.java b/sonar-server/src/main/java/org/sonar/server/qualitygate/ws/QGatesSearchAction.java index 339742c85b4..d93285006d5 100644 --- a/sonar-server/src/main/java/org/sonar/server/qualitygate/ws/QGatesSearchAction.java +++ b/sonar-server/src/main/java/org/sonar/server/qualitygate/ws/QGatesSearchAction.java @@ -56,9 +56,9 @@ public class QGatesSearchAction implements RequestHandler { action.createParam(QGatesWs.PARAM_SELECTED) .setDescription("If \"selected\", search for projects associated to the quality gate") - .setDefaultValue("selected") - .setPossibleValues("selected", "deselected") - .setExampleValue("deselected"); + .setDefaultValue(ProjectQgateAssociationQuery.IN) + .setPossibleValues(ProjectQgateAssociationQuery.AVAILABLE_MEMBERSHIP) + .setExampleValue(ProjectQgateAssociationQuery.OUT); action.createParam(QGatesWs.PARAM_PAGE) .setDescription("Page number") |