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
public class S3DownloadAllCallable extends MasterToSlaveFileCallable<T>
Copies all objects from the path in S3 to the target base path- Author:
- Peter Hayes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3DownloadAllCallable(ClientHelper helper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File base, hudson.remoting.VirtualChannel channel)
Download to executorT
invoke(File f, hudson.remoting.VirtualChannel channel)
Override this if you don't want a transfer manager-
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
-
-
-
Constructor Detail
-
S3DownloadAllCallable
public S3DownloadAllCallable(ClientHelper helper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix)
-
-
Method Detail
-
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 T invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
Override this if you don't want a transfer manager- Throws:
IOException
InterruptedException
-
-