Package hudson.plugins.s3.callable
Class S3UploadCallable
java.lang.Object
hudson.plugins.s3.callable.S3BaseUploadCallable
hudson.plugins.s3.callable.S3UploadCallable
- All Implemented Interfaces:
FilePath.FileCallable<String>,MasterSlaveCallable<String>,Serializable,org.jenkinsci.remoting.RoleSensitive
public final class S3UploadCallable
extends S3BaseUploadCallable
implements MasterSlaveCallable<String>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionS3UploadCallable(String accessKey, Secret secretKey, boolean useRole, Destination dest, Map<String, String> userMetadata, String storageClass, String selregion, boolean useServerSideEncryption, ProxyConfiguration proxy, boolean usePathStyle) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckRoles(org.jenkinsci.remoting.RoleChecker roleChecker) protected software.amazon.awssdk.transfer.s3.S3TransferManagerStream from slave to master, then upload from masterMethods inherited from class hudson.plugins.s3.callable.S3BaseUploadCallable
buildMetadata, getDest, invokeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.plugins.s3.callable.MasterSlaveCallable
invokeMethods inherited from interface org.jenkinsci.remoting.RoleSensitive
checkRoles
-
Constructor Details
-
S3UploadCallable
public S3UploadCallable(String accessKey, Secret secretKey, boolean useRole, Destination dest, Map<String, String> userMetadata, String storageClass, String selregion, boolean useServerSideEncryption, ProxyConfiguration proxy, boolean usePathStyle)
-
-
Method Details
-
invoke
Stream from slave to master, then upload from master- Specified by:
invokein interfaceMasterSlaveCallable<String>- Specified by:
invokein classS3BaseUploadCallable- Throws:
IOExceptionInterruptedException
-
getTransferManager
protected software.amazon.awssdk.transfer.s3.S3TransferManager getTransferManager() -
checkRoles
- Specified by:
checkRolesin interfaceorg.jenkinsci.remoting.RoleSensitive- Throws:
SecurityException
-