public 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) |
FingerprintRecord |
generateFingerprint(boolean produced,
String bucket,
String name,
String md5sum) |
protected com.amazonaws.services.s3.transfer.TransferManager |
getTransferManager() |
FingerprintRecord |
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 FingerprintRecord 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.RoleSensitiveSecurityExceptionpublic FingerprintRecord generateFingerprint(boolean produced, String bucket, String name, String md5sum) throws IOException
IOExceptionCopyright © 2004-2016. All Rights Reserved.