this.formatter = formatter;
}
@Override
public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("activity")
<BUG>.setInternal(true)
.setResponseExample(getClass().getResource("activity-example.json"))
.setHandler(this);
action.createParam(PARAM_COMPONENT_UUID)</BUG>
.setDescription("Optional id of the component (project) to filter on")

this.formatter = formatter;
}
@Override
public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("activity")
.setInternal(true)
.setDescription(format("Search for past task executions. Requires the system administration permission, " +
"or project administration permission if %s is set.", PARAM_COMPONENT_UUID))
.setResponseExample(getClass().getResource("activity-example.json"))
.setHandler(this)
.setSince("5.2");
action.createParam(PARAM_COMPONENT_UUID)
.setDescription("Optional id of the component (project) to filter on")
