use of org.eclipse.che.plugin.svn.shared.CleanupRequest in project che by eclipse.
the class SubversionClientServiceImpl method cleanup.
@Override
public Promise<CLIOutputResponse> cleanup(Path project, Path[] paths) {
final String url = getBaseUrl() + "/cleanup";
final CleanupRequest request = dtoFactory.createDto(CleanupRequest.class).withPaths(toList(paths)).withProjectPath(project.toString());
return asyncRequestFactory.createPostRequest(url, request).loader(loader).send(dtoUnmarshallerFactory.newUnmarshaller(CLIOutputResponse.class));
}
Aggregations