Package hudson.plugins.s3.callable
Class S3GzipCallable
java.lang.Object
hudson.plugins.s3.callable.S3BaseUploadCallable
hudson.plugins.s3.callable.S3GzipCallable
- All Implemented Interfaces:
FilePath.FileCallable<String>
,MasterSlaveCallable<String>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public final class S3GzipCallable
extends S3BaseUploadCallable
implements MasterSlaveCallable<String>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionS3GzipCallable
(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
-
S3GzipCallable
public S3GzipCallable(String accessKey, Secret secretKey, boolean useRole, Destination dest, Map<String, String> userMetadata, String storageClass, String selregion, boolean useServerSideEncryption, ProxyConfiguration proxy)
-
-
Method Details
-
invoke
Description copied from class:S3BaseUploadCallable
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
-