Class RemoteFileSizeGetter
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<Long>
-
- io.jenkins.plugins.devopsportal.utils.RemoteFileSizeGetter
-
- All Implemented Interfaces:
FilePath.FileCallable<Long>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class RemoteFileSizeGetter extends MasterToSlaveFileCallable<Long> implements Serializable
Let compute the length of a remote file.- Author:
- RĂ©mi BELLO <remi@evolya.fr>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteFileSizeGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
invoke(File file, hudson.remoting.VirtualChannel channel)
-
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
-
-
-
Method Detail
-
invoke
public Long invoke(File file, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
- Specified by:
invoke
in interfaceFilePath.FileCallable<Long>
- Throws:
IOException
InterruptedException
-
-