Class FileUtil.FileCallableImpl
- java.lang.Object
-
- com.veracode.jenkins.plugin.utils.FileUtil.FileCallableImpl
-
- All Implemented Interfaces:
FilePath.FileCallable<String>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- Enclosing class:
- FileUtil
public static final class FileUtil.FileCallableImpl extends Object implements FilePath.FileCallable<String>
ImplementsFileCallable
'sinvoke
method, which is executed on the machine containing the file whose file path is represented by theFilePath
object on which theact
method is called.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileCallableImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkRoles(org.jenkinsci.remoting.RoleChecker arg0)
String
invoke(File f, hudson.remoting.VirtualChannel channel)
-
-
-
Method Detail
-
invoke
public String invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
- Specified by:
invoke
in interfaceFilePath.FileCallable<String>
- Throws:
IOException
InterruptedException
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker arg0) throws SecurityException
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-
-