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,ControllerToAgentFileCallable<Integer>,org.jenkinsci.remoting.RoleSensitive
- Author:
- Peter Hayes
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionS3UploadAllCallable(ClientHelper clientHelper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix, Map<String, String> userMetadata, String storageClass, boolean useServerSideEncryption) -
Method Summary
Methods inherited from class jenkins.plugins.itemstorage.s3.S3BaseUploadCallable
buildMetadataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jenkins.agents.ControllerToAgentFileCallable
checkRoles
-
Constructor Details
-
S3UploadAllCallable
-
-
Method Details
-
invoke
public Integer invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File base, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Upload from agent- Throws:
IOExceptionInterruptedException
-
invoke
public Integer invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Override this if you don't want a transfer manager- Throws:
IOExceptionInterruptedException
-