this.formatter = formatter;
}
@Override
public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("component")
<BUG>.setDescription("Get the pending and last executed tasks of a given component (usually a project)")

.setInternal(true)
.setResponseExample(getClass().getResource("component-example.json"))</BUG>
.setHandler(this);

this.formatter = formatter;
}
@Override
public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("component")
.setDescription("Get the pending tasks, in-progress tasks and the last executed task of a given component " +
"(usually a project). Requires the administration permission on the component.")
.setInternal(true)
.setSince("5.2")
.setResponseExample(getClass().getResource("component-example.json"))
.setHandler(this);
