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
ConstructorDescriptionS3UploadCallable
(String accessKey, Secret secretKey, boolean useRole, Destination dest, Map<String, String> userMetadata, String storageClass, String selregion, boolean useServerSideEncryption, ProxyConfiguration proxy) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkRoles
(org.jenkinsci.remoting.RoleChecker roleChecker) protected com.amazonaws.services.s3.transfer.TransferManager
Stream from slave to master, then upload from masterMethods inherited from class hudson.plugins.s3.callable.S3BaseUploadCallable
buildMetadata, getDest, invoke
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.plugins.s3.callable.MasterSlaveCallable
invoke
Methods 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)
-
-
Method Details
-
invoke
Stream from slave to master, then upload from master- Specified by:
invoke
in interfaceMasterSlaveCallable<String>
- Specified by:
invoke
in classS3BaseUploadCallable
- Throws:
IOException
InterruptedException
-
getTransferManager
protected com.amazonaws.services.s3.transfer.TransferManager getTransferManager() -
checkRoles
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-