Package jenkins.plugins.itemstorage.s3
Class S3DownloadAllCallable
java.lang.Object
jenkins.MasterToSlaveFileCallable<T>
jenkins.plugins.itemstorage.s3.S3DownloadAllCallable
- All Implemented Interfaces:
FilePath.FileCallable<Integer>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
Copies all objects from the path in S3 to the target base path
- Author:
- Peter Hayes
- See Also:
-
Constructor Summary
ConstructorDescriptionS3DownloadAllCallable
(ClientHelper helper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix) -
Method Summary
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
Constructor Details
-
S3DownloadAllCallable
public S3DownloadAllCallable(ClientHelper helper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix)
-
-
Method Details
-
invoke
public Integer invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File base, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Download to executor- Throws:
IOException
InterruptedException
-
invoke
public Integer invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Override this if you don't want a transfer manager- Throws:
IOException
InterruptedException
-