Package hudson.plugins.s3.callable
Interface MasterSlaveCallable<T>
-
- All Superinterfaces:
FilePath.FileCallable<T>
,org.jenkinsci.remoting.RoleSensitive
,Serializable
- All Known Implementing Classes:
S3CleanupUploadCallable
,S3GzipCallable
,S3UploadCallable
,S3WaitUploadCallable
public interface MasterSlaveCallable<T> extends FilePath.FileCallable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
invoke(FilePath file)
Stream from slave to master, then upload from masterT
invoke(File file, hudson.remoting.VirtualChannel channel)
Upload from slave directly
-
-
-
Method Detail
-
invoke
T invoke(File file, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
Upload from slave directly- Specified by:
invoke
in interfaceFilePath.FileCallable<T>
- Throws:
IOException
InterruptedException
-
invoke
T invoke(FilePath file) throws IOException, InterruptedException
Stream from slave to master, then upload from master- Throws:
IOException
InterruptedException
-
-