public final class S3UploadCallable extends S3BaseUploadCallable implements MasterSlaveCallable<String>
| Constructor and Description |
|---|
S3UploadCallable(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, invokeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokepublic S3UploadCallable(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
invoke in interface MasterSlaveCallable<String>invoke in class S3BaseUploadCallableIOExceptionInterruptedExceptionprotected com.amazonaws.services.s3.transfer.TransferManager getTransferManager()
public void checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker)
throws SecurityException
checkRoles in interface org.jenkinsci.remoting.RoleSensitiveSecurityExceptionCopyright © 2016–2021. All rights reserved.