Class S3UploadCallable
java.lang.Object
jenkins.MasterToSlaveFileCallable<Void>
jenkins.plugins.itemstorage.s3.S3BaseUploadCallable<Void>
jenkins.plugins.itemstorage.s3.S3UploadCallable
- All Implemented Interfaces:
FilePath.FileCallable<Void>, Serializable, ControllerToAgentFileCallable<Void>, org.jenkinsci.remoting.RoleSensitive
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionS3UploadCallable(ClientHelper clientHelper, String bucketName, String key, Map<String, String> userMetadata, String storageClass, boolean useServerSideEncryption) -
Method Summary
Methods inherited from class S3BaseUploadCallable
buildMetadataMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ControllerToAgentFileCallable
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:
IOExceptionInterruptedException
-