Search in sources :

Example 1 with CleanupRequest

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));
}
Also used : CleanupRequest(org.eclipse.che.plugin.svn.shared.CleanupRequest) CLIOutputResponse(org.eclipse.che.plugin.svn.shared.CLIOutputResponse)

Aggregations

CLIOutputResponse (org.eclipse.che.plugin.svn.shared.CLIOutputResponse)1 CleanupRequest (org.eclipse.che.plugin.svn.shared.CleanupRequest)1