Package org.syncany.operations.init

Examples of org.syncany.operations.init.GenlinkOperationResult


  @Override
  public Response handleRequest(FolderRequest request) {
    try {
      GenlinkOperation operation = new GenlinkOperation(config, new GenlinkOperationOptions());
      GenlinkOperationResult operationResult = operation.execute();
      GenlinkFolderResponse response = new GenlinkFolderResponse(operationResult, request.getId());
   
      return response;
    }
    catch (Exception e) {
View Full Code Here


  }
 
  @Override
  public int execute(String[] operationArgs) throws Exception {
    GenlinkOperationOptions operationOptions = parseOptions(operationArgs);   
    GenlinkOperationResult operationResult = client.genlink(operationOptions);   
   
    printResults(operationResult);
   
    return 0;   
  }
View Full Code Here

    return operationOptions;
  }
 
  @Override
  public void printResults(OperationResult operationResult) {
    GenlinkOperationResult concreteOperationResult = (GenlinkOperationResult) operationResult;
   
    if (!machineReadableOutput) {
      out.println();
      out.println("To share the same repository with others, you can share this link:");
    }
View Full Code Here

TOP

Related Classes of org.syncany.operations.init.GenlinkOperationResult

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.