Search in sources :

Example 1 with ResolveRequest

use of org.eclipse.che.plugin.svn.shared.ResolveRequest in project che by eclipse.

the class SubversionClientServiceImpl method resolve.

@Override
public Promise<CLIOutputResponseList> resolve(Path project, Map<String, String> resolutions, String depth) {
    final String url = getBaseUrl() + "/resolve";
    final ResolveRequest request = dtoFactory.createDto(ResolveRequest.class).withProjectPath(project.toString()).withConflictResolutions(resolutions).withDepth(depth);
    return asyncRequestFactory.createPostRequest(url, request).loader(loader).send(dtoUnmarshallerFactory.newUnmarshaller(CLIOutputResponseList.class));
}
Also used : CLIOutputResponseList(org.eclipse.che.plugin.svn.shared.CLIOutputResponseList) ResolveRequest(org.eclipse.che.plugin.svn.shared.ResolveRequest)

Aggregations

CLIOutputResponseList (org.eclipse.che.plugin.svn.shared.CLIOutputResponseList)1 ResolveRequest (org.eclipse.che.plugin.svn.shared.ResolveRequest)1