Package hudson
Interface FilePath.FileCallable<T>
- All Superinterfaces:
org.jenkinsci.remoting.RoleSensitive
,Serializable
- All Known Subinterfaces:
ControllerToAgentFileCallable<T>
- All Known Implementing Classes:
DiskSpaceMonitorDescriptor.GetUsableSpace
,MasterToSlaveFileCallable
,SlaveToMasterFileCallable
,TemporarySpaceMonitor.GetTempSpace
- Enclosing class:
- FilePath
public static interface FilePath.FileCallable<T>
extends Serializable, org.jenkinsci.remoting.RoleSensitive
Code that gets executed on the machine where the
FilePath
is local.
Used to act on FilePath
.
A typical implementation would be a record
implementing ControllerToAgentFileCallable
.- See Also:
-
Method Summary
Methods inherited from interface org.jenkinsci.remoting.RoleSensitive
checkRoles
-
Method Details
-
invoke
Performs the computational task on the node where the data is located.All the exceptions are forwarded to the caller.
- Parameters:
f
-File
that represents the local file thatFilePath
has represented.channel
- The "back pointer" of theChannel
that represents the communication with the node from where the code was sent.- Throws:
IOException
InterruptedException
-