@@ -32,7 +32,6 @@ import javax.annotation.Generated; | |||
public class ActivityRequest { | |||
private String component; | |||
private String componentId; | |||
private String maxExecutedAt; | |||
private String minSubmittedAt; | |||
private String onlyCurrents; | |||
@@ -42,18 +41,6 @@ public class ActivityRequest { | |||
private List<String> status; | |||
private String type; | |||
/** | |||
* Example value: "AU-TpxcA-iU5OvuD2FL0" | |||
*/ | |||
public ActivityRequest setComponentId(String componentId) { | |||
this.componentId = componentId; | |||
return this; | |||
} | |||
public String getComponentId() { | |||
return componentId; | |||
} | |||
/** | |||
* Example value: "sample:src/main/xoo/sample/Sample2.xoo" | |||
*/ |
@@ -30,30 +30,17 @@ import javax.annotation.Generated; | |||
@Generated("sonar-ws-generator") | |||
public class ActivityStatusRequest { | |||
private String componentId; | |||
private String componentKey; | |||
/** | |||
* Example value: "AU-TpxcA-iU5OvuD2FL0" | |||
*/ | |||
public ActivityStatusRequest setComponentId(String componentId) { | |||
this.componentId = componentId; | |||
return this; | |||
} | |||
public String getComponentId() { | |||
return componentId; | |||
} | |||
private String component; | |||
/** | |||
* Example value: "my_project" | |||
*/ | |||
public ActivityStatusRequest setComponentKey(String componentKey) { | |||
this.componentKey = componentKey; | |||
public ActivityStatusRequest setComponent(String component) { | |||
this.component = component; | |||
return this; | |||
} | |||
public String getComponentKey() { | |||
return componentKey; | |||
public String getComponent() { | |||
return component; | |||
} | |||
} |
@@ -56,7 +56,6 @@ public class CeService extends BaseService { | |||
public ActivityResponse activity(ActivityRequest request) { | |||
return call( | |||
new GetRequest(path("activity")) | |||
.setParam("componentId", request.getComponentId()) | |||
.setParam("component", request.getComponent()) | |||
.setParam("maxExecutedAt", request.getMaxExecutedAt()) | |||
.setParam("minSubmittedAt", request.getMinSubmittedAt()) | |||
@@ -79,8 +78,7 @@ public class CeService extends BaseService { | |||
public ActivityStatusWsResponse activityStatus(ActivityStatusRequest request) { | |||
return call( | |||
new GetRequest(path("activity_status")) | |||
.setParam("componentId", request.getComponentId()) | |||
.setParam("componentKey", request.getComponentKey()), | |||
.setParam("component", request.getComponent()), | |||
ActivityStatusWsResponse.parser()); | |||
} | |||