Package jenkins.plugins.itemstorage.s3
Class S3UploadAllCallable
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<T>
-
- jenkins.plugins.itemstorage.s3.S3BaseUploadCallable<Integer>
-
- jenkins.plugins.itemstorage.s3.S3UploadAllCallable
-
- All Implemented Interfaces:
FilePath.FileCallable<Integer>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class S3UploadAllCallable extends S3BaseUploadCallable<Integer>
- Author:
- Peter Hayes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3UploadAllCallable(ClientHelper clientHelper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix, Map<String,String> userMetadata, String storageClass, boolean useServerSideEncryption)
-
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)
Upload from agentT
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 Integer invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File base, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
Upload from agent- 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
-
-