Package hudson.plugins.s3.callable
Class S3DownloadCallable
java.lang.Object
hudson.plugins.s3.callable.S3DownloadCallable
- All Implemented Interfaces:
FilePath.FileCallable<String>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionS3DownloadCallable
(String accessKey, Secret secretKey, boolean useRole, Destination dest, String region, ProxyConfiguration proxy) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkRoles
(org.jenkinsci.remoting.RoleChecker roleChecker) protected com.amazonaws.services.s3.transfer.TransferManager
-
Constructor Details
-
S3DownloadCallable
public S3DownloadCallable(String accessKey, Secret secretKey, boolean useRole, Destination dest, String region, ProxyConfiguration proxy)
-
-
Method Details
-
invoke
public String invoke(File file, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getTransferManager
protected com.amazonaws.services.s3.transfer.TransferManager getTransferManager() -
checkRoles
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-