public static interface FilePath.FileCallable<T> extends Serializable
FilePath
is local.
Used to act on FilePath
.
Warning: implementations must be serializable, so prefer a static nested class to an inner class.FilePath.act(FileCallable)
Modifier and Type | Method and Description |
---|---|
T |
invoke(File f,
hudson.remoting.VirtualChannel channel)
Performs the computational task on the node where the data is located.
|
T invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
All the exceptions are forwarded to the caller.
f
- File
that represents the local file that FilePath
has represented.channel
- The "back pointer" of the Channel
that represents the communication
with the node from where the code was sent.IOException
InterruptedException
Copyright © 2014. All rights reserved.