/** * Runs the application, performing the action specified on the given service and local directory paths. * * @param servicePath * the path in service (including the bucket name) to which files are backed-up, or from which files are restored. * @param files * a set of one or more of File objects for Uploads, or a single target directory for Downloads. * @param actionCommand * the action to perform, UP(load) or DOWN(load) * @param cryptoPassword * if non-null, an {@link EncryptionUtil} object is created with the provided password to encrypt or decrypt files. * @param aclString * the ACL to apply to the uploaded object * @param providerId * service provider name: "S3" or "GS" * * @throws Exception */ public void run(String servicePath, List<File> files, String actionCommand, String cryptoPassword, String aclString, String providerId) throws Exception { File[] filesArray = files.toArray(new File[files.size()]); this.run(servicePath, filesArray, actionCommand, cryptoPassword, aclString, providerId); }
/** * Runs the application, performing the action specified on the given service and local directory paths. * * @param servicePath * the path in service (including the bucket name) to which files are backed-up, or from which files are restored. * @param files * a set of one or more of File objects for Uploads, or a single target directory for Downloads. * @param actionCommand * the action to perform, UP(load) or DOWN(load) * @param cryptoPassword * if non-null, an {@link EncryptionUtil} object is created with the provided password to encrypt or decrypt files. * @param aclString * the ACL to apply to the uploaded object * @param providerId * service provider name: "S3" or "GS" * * @throws Exception */ public void run(String servicePath, List<File> files, String actionCommand, String cryptoPassword, String aclString, String providerId) throws Exception { File[] filesArray = files.toArray(new File[files.size()]); this.run(servicePath, filesArray, actionCommand, cryptoPassword, aclString, providerId); }
isMoveEnabled, isBatchMode, isGzipEnabled, isEncryptionEnabled, reportLevel, myProperties); client.run(servicePath, fileSet.toArray(new File[fileSet.size()]), actionCommand,
isMoveEnabled, isBatchMode, isGzipEnabled, isEncryptionEnabled, reportLevel, myProperties); client.run(servicePath, fileSet.toArray(new File[fileSet.size()]), actionCommand,