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
- See Also:
-
Constructor Summary
ConstructorDescriptionS3UploadCallable
(ClientHelper clientHelper, String bucketName, String key, Map<String, String> userMetadata, String storageClass, boolean useServerSideEncryption) -
Method Summary
Methods inherited from class jenkins.plugins.itemstorage.s3.S3BaseUploadCallable
buildMetadata
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
Constructor Details
-
S3UploadCallable
-
-
Method Details
-
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 Void invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Override this if you don't want a transfer manager- Throws:
IOException
InterruptedException
-