public final class S3GzipCallable extends S3BaseUploadCallable implements MasterSlaveCallable<String>
Constructor and Description |
---|
S3GzipCallable(String accessKey,
Secret secretKey,
boolean useRole,
Destination dest,
Map<String,String> userMetadata,
String storageClass,
String selregion,
boolean useServerSideEncryption,
ProxyConfiguration proxy) |
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker) |
protected com.amazonaws.services.s3.transfer.TransferManager |
getTransferManager() |
String |
invoke(FilePath file)
Stream from slave to master, then upload from master
|
buildMetadata, getDest, invoke
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke
public S3GzipCallable(String accessKey, Secret secretKey, boolean useRole, Destination dest, Map<String,String> userMetadata, String storageClass, String selregion, boolean useServerSideEncryption, ProxyConfiguration proxy)
public String invoke(FilePath file) throws IOException, InterruptedException
S3BaseUploadCallable
invoke
in interface MasterSlaveCallable<String>
invoke
in class S3BaseUploadCallable
IOException
InterruptedException
protected com.amazonaws.services.s3.transfer.TransferManager getTransferManager()
public void checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
Copyright © 2016–2021. All rights reserved.