public class S3UploadCallable extends AbstractS3Callable implements hudson.FilePath.FileCallable<FingerprintRecord>
| Constructor and Description |
|---|
S3UploadCallable(boolean produced,
String accessKey,
hudson.util.Secret secretKey,
boolean useRole,
Destination dest,
List<MetadataPair> userMetadata,
String storageClass,
String selregion,
boolean useServerSideEncryption) |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.services.s3.model.ObjectMetadata |
buildMetadata(hudson.FilePath filePath) |
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
|
getClientpublic S3UploadCallable(boolean produced,
String accessKey,
hudson.util.Secret secretKey,
boolean useRole,
Destination dest,
List<MetadataPair> userMetadata,
String storageClass,
String selregion,
boolean useServerSideEncryption)
public com.amazonaws.services.s3.model.ObjectMetadata buildMetadata(hudson.FilePath filePath)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic FingerprintRecord invoke(File file, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke in interface hudson.FilePath.FileCallable<FingerprintRecord>IOExceptionInterruptedExceptionpublic FingerprintRecord invoke(hudson.FilePath file) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004-2014. All Rights Reserved.