Package hudson.plugins.s3.callable
Class S3WaitUploadCallable
- java.lang.Object
-
- hudson.plugins.s3.callable.S3WaitUploadCallable
-
- All Implemented Interfaces:
FilePath.FileCallable<Void>
,MasterSlaveCallable<Void>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public final class S3WaitUploadCallable extends Object implements MasterSlaveCallable<Void>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3WaitUploadCallable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
Void
invoke(FilePath file)
Stream from slave to master, then upload from masterVoid
invoke(File f, hudson.remoting.VirtualChannel channel)
Upload from slave directly
-
-
-
Method Detail
-
invoke
public Void invoke(File f, hudson.remoting.VirtualChannel channel) throws InterruptedException
Description copied from interface:MasterSlaveCallable
Upload from slave directly- Specified by:
invoke
in interfaceFilePath.FileCallable<Void>
- Specified by:
invoke
in interfaceMasterSlaveCallable<Void>
- Throws:
InterruptedException
-
invoke
public Void invoke(FilePath file) throws InterruptedException
Description copied from interface:MasterSlaveCallable
Stream from slave to master, then upload from master- Specified by:
invoke
in interfaceMasterSlaveCallable<Void>
- Throws:
InterruptedException
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-
-