import org.sonar.batch.scan.ScanTask;
import org.sonar.batch.tasks.ListTask;
import org.sonar.batch.tasks.Tasks;
+import org.sonar.core.permission.ComponentPermissionFacade;
import org.sonar.core.resource.DefaultResourcePermissions;
public class TaskContainer extends ComponentContainer {
private void installCoreTasks() {
add(
- ScanTask.DEFINITION, ScanTask.class,
- ListTask.DEFINITION, ListTask.class);
+ ScanTask.DEFINITION, ScanTask.class,
+ ListTask.DEFINITION, ListTask.class);
}
private void installTaskExtensions() {
private void installComponentsUsingTaskExtensions() {
add(
- ResourceTypes.class,
- DefaultResourcePermissions.class,
- Tasks.class);
+ ResourceTypes.class,
+ ComponentPermissionFacade.class,
+ DefaultResourcePermissions.class,
+ Tasks.class);
}
@Override