Search in sources :

Example 1 with ShowLogRequest

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

the class SubversionClientServiceImpl method showLog.

@Override
public Promise<CLIOutputResponse> showLog(Path project, Path[] paths, String revision) {
    final String url = getBaseUrl() + "/showlog";
    final ShowLogRequest request = dtoFactory.createDto(ShowLogRequest.class).withProjectPath(project.toString()).withPaths(toList(paths)).withRevision(revision);
    return asyncRequestFactory.createPostRequest(url, request).loader(loader).send(dtoUnmarshallerFactory.newUnmarshaller(CLIOutputResponse.class));
}
Also used : ShowLogRequest(org.eclipse.che.plugin.svn.shared.ShowLogRequest) CLIOutputResponse(org.eclipse.che.plugin.svn.shared.CLIOutputResponse)

Aggregations

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