Package | Description |
---|---|
org.sonar.api.server.ws |
Modifier and Type | Method and Description |
---|---|
WebService.NewAction |
WebService.NewAction.addFieldsParam(Collection<?> possibleValues)
Creates the parameter
WebService.Param.FIELDS , which is
used to restrict the number of fields returned in JSON response. |
WebService.NewAction |
WebService.NewAction.addPagingParams(int defaultPageSize)
Add predefined parameters related to pagination of results.
|
WebService.NewAction |
WebService.NewAction.addPagingParams(int defaultPageSize,
int maxPageSize)
Add predefined parameters related to pagination of results with a maximum page size.
|
WebService.NewAction |
WebService.NewAction.addSearchQuery(String exampleValue,
String... pluralFields)
$
Creates the parameter
WebService.Param.TEXT_QUERY , which is
used to search for a subset of fields containing the supplied string.The fields must be in the plural form (ex: "names", "keys") |
WebService.NewAction |
WebService.NewAction.addSelectionModeParam()
Add 'selected=(selected|deselected|all)' for select-list oriented WS.
|
<V> WebService.NewAction |
WebService.NewAction.addSortParams(Collection<V> possibleValues,
V defaultValue,
boolean defaultAscending)
Add predefined parameters related to sorting of results.
|
WebService.NewAction |
WebService.NewController.createAction(String actionKey) |
WebService.NewAction |
WebService.NewAction.createParam(String paramKey,
String description)
Deprecated.
since 4.4. Use
createParam(String paramKey) instead. |
WebService.NewAction |
WebService.NewAction.setDeprecatedKey(String s) |
WebService.NewAction |
WebService.NewAction.setDeprecatedSince(String deprecatedSince) |
WebService.NewAction |
WebService.NewAction.setDescription(String s) |
WebService.NewAction |
WebService.NewAction.setHandler(RequestHandler h) |
WebService.NewAction |
WebService.NewAction.setInternal(boolean b) |
WebService.NewAction |
WebService.NewAction.setPost(boolean b) |
WebService.NewAction |
WebService.NewAction.setResponseExample(URL url)
Link to the document containing an example of response.
|
WebService.NewAction |
WebService.NewAction.setSince(String s) |
Modifier and Type | Method and Description |
---|---|
static WebService.NewParam |
RailsHandler.addFormatParam(WebService.NewAction action) |
static WebService.NewParam |
RailsHandler.addJsonOnlyFormatParam(WebService.NewAction action) |
Copyright © 2009–2016 SonarSource. All rights reserved.