Package jenkins.plugins.itemstorage.s3
Class S3UploadCallable
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<T>
-
- jenkins.plugins.itemstorage.s3.S3BaseUploadCallable<Void>
-
- jenkins.plugins.itemstorage.s3.S3UploadCallable
-
- All Implemented Interfaces:
FilePath.FileCallable<Void>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class S3UploadCallable extends S3BaseUploadCallable<Void>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3UploadCallable(ClientHelper clientHelper, String bucketName, String key, Map<String,String> userMetadata, String storageClass, boolean useServerSideEncryption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File source, 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.plugins.itemstorage.s3.S3BaseUploadCallable
buildMetadata
-
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
-
-
-
Method Detail
-
invoke
public Void invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File source, 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
-
-