Class S3DownloadAllCallable
- All Implemented Interfaces:
FilePath.FileCallable<Integer>, Serializable, ControllerToAgentFileCallable<Integer>, org.jenkinsci.remoting.RoleSensitive
Copies all objects from the path in S3 to the target base path
- Author:
- Peter Hayes
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionS3DownloadAllCallable(ClientHelper helper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ControllerToAgentFileCallable
checkRoles
-
Constructor Details
-
S3DownloadAllCallable
public S3DownloadAllCallable(ClientHelper helper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix)
-
-
Method Details
-
invoke
public Integer invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File base, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Download to executor- Throws:
IOExceptionInterruptedException
-
invoke
public Integer invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Override this if you don't want a transfer manager- Throws:
IOExceptionInterruptedException
-