Package org.syncany.operations.restore

Examples of org.syncany.operations.restore.RestoreOperation


  @Override
  public Response handleRequest(FolderRequest request) {
    RestoreFolderRequest concreteRequest = (RestoreFolderRequest) request;

    try {
      RestoreOperation operation = new RestoreOperation(config, concreteRequest.getOptions());
      RestoreOperationResult operationResult = operation.execute();
      RestoreFolderResponse response = new RestoreFolderResponse(operationResult, request.getId());
   
      return response;
    }
    catch (Exception e) {
View Full Code Here


  public LsRemoteOperationResult lsRemote() throws Exception {
    return new LsRemoteOperation(config).execute();
  }

  public RestoreOperationResult restore(RestoreOperationOptions options) throws Exception {
    return new RestoreOperation(config, options).execute();
  }
View Full Code Here

TOP

Related Classes of org.syncany.operations.restore.RestoreOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.