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));
}
Aggregations