public class S3UploadCallable extends Object
| Constructor and Description |
|---|
S3UploadCallable(boolean produced,
String destFilename,
String accessKey,
hudson.util.Secret secretKey,
boolean useRole,
String bucketName,
Destination dest,
Map<String,String> userMetadata,
String storageClass,
String selregion,
boolean useServerSideEncryption,
boolean gzipFiles,
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(hudson.FilePath file)
Stream from slave to master, then upload from master
|
FingerprintRecord |
invoke(File file,
hudson.remoting.VirtualChannel channel)
Upload from slave directly
|
public S3UploadCallable(boolean produced,
String destFilename,
String accessKey,
hudson.util.Secret secretKey,
boolean useRole,
String bucketName,
Destination dest,
Map<String,String> userMetadata,
String storageClass,
String selregion,
boolean useServerSideEncryption,
boolean gzipFiles,
hudson.ProxyConfiguration proxy)
public FingerprintRecord invoke(File file, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic FingerprintRecord invoke(hudson.FilePath file) 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.