Package org.sonarqube.ws.client.measures
Class ComponentRequest
java.lang.Object
org.sonarqube.ws.client.measures.ComponentRequest
This is part of the internal API.
This is a POST request.
- Since:
- 5.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetAdditionalFields
(List<String> additionalFields) Example value: "periods,metrics" Possible values: "metrics" "periods"This is part of the internal API.setComponent
(String component) Example value: "my_project"setComponentId
(String componentId) Deprecated.since 6.6setDeveloperId
(String developerId) Deprecated.since 6.4setDeveloperKey
(String developerKey) Deprecated.since 6.4setMetricKeys
(List<String> metricKeys) This is a mandatory parameter.setPullRequest
(String pullRequest) This is part of the internal API.
-
Constructor Details
-
ComponentRequest
public ComponentRequest()
-
-
Method Details
-
setAdditionalFields
Example value: "periods,metrics" Possible values:- "metrics"
- "periods"
-
getAdditionalFields
-
setBranch
This is part of the internal API. Example value: "feature/my_branch" -
getBranch
-
setComponent
Example value: "my_project" -
getComponent
-
setComponentId
Deprecated.since 6.6Example value: "AU-Tpxb--iU5OvuD2FLy" -
getComponentId
-
setDeveloperId
Deprecated.since 6.4 -
getDeveloperId
-
setDeveloperKey
Deprecated.since 6.4 -
getDeveloperKey
-
setMetricKeys
This is a mandatory parameter. Example value: "ncloc,complexity,violations" -
getMetricKeys
-
setPullRequest
This is part of the internal API. Example value: "5461" -
getPullRequest
-