Package jenkins.plugins.itemstorage.s3
Class Uploads
java.lang.Object
jenkins.plugins.itemstorage.s3.Uploads
Based on S3 Jenkins Plugin class.
This class tracks uploads via the transfer manager as uploads are asynchronous
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
int
count()
void
void
startUploading
(com.amazonaws.services.s3.transfer.TransferManager manager, File file, InputStream inputStream, Destination dest, com.amazonaws.services.s3.model.ObjectMetadata metadata)
-
Constructor Details
-
Uploads
public Uploads()
-
-
Method Details
-
startUploading
public void startUploading(com.amazonaws.services.s3.transfer.TransferManager manager, File file, InputStream inputStream, Destination dest, com.amazonaws.services.s3.model.ObjectMetadata metadata) throws com.amazonaws.AmazonServiceException - Throws:
com.amazonaws.AmazonServiceException
-
finishUploading
- Throws:
InterruptedException
-
cleanup
public void cleanup() -
count
public int count()
-