public final class S3DownloadCallable extends Object
| Constructor and Description |
|---|
S3DownloadCallable(String accessKey,
hudson.util.Secret secretKey,
boolean useRole,
Destination dest,
String region,
hudson.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(File file,
hudson.remoting.VirtualChannel channel) |
public S3DownloadCallable(String accessKey, hudson.util.Secret secretKey, boolean useRole, Destination dest, String region, hudson.ProxyConfiguration proxy)
public String invoke(File file, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected 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–2020. All rights reserved.