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. |
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.setChangelog(Change... changes)
List of changes made to the contract or valuable insight.
|
WebService.NewAction |
WebService.NewAction.setDeprecatedKey(String s) |
WebService.NewAction |
WebService.NewAction.setDeprecatedSince(String deprecatedSince) |
WebService.NewAction |
WebService.NewAction.setDescription(String description)
Used in Orchestrator
|
WebService.NewAction |
WebService.NewAction.setDescription(String description,
Object... descriptionArgument) |
WebService.NewAction |
WebService.NewAction.setHandler(RequestHandler h) |
WebService.NewAction |
WebService.NewAction.setInternal(boolean b)
Internal actions are not displayed by default in the web api documentation.
|
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) |
Copyright © 2009–2017 SonarSource. All rights reserved.