Package jenkins.plugins.itemstorage.s3
Class S3DownloadCallable
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<T>
-
- jenkins.plugins.itemstorage.s3.S3DownloadCallable
-
- All Implemented Interfaces:
FilePath.FileCallable<Void>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class S3DownloadCallable extends MasterToSlaveFileCallable<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3DownloadCallable(ClientHelper helper, String bucketName, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File target, hudson.remoting.VirtualChannel channel)
Override this if you do want a transfer managerT
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
-
S3DownloadCallable
public S3DownloadCallable(ClientHelper helper, String bucketName, String key)
-
-
Method Detail
-
invoke
public Void invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File target, hudson.remoting.VirtualChannel channel) throws IOException
Override this if you do want a transfer manager- Throws:
IOException
-
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
-
-