Package hudson.util
Interface ProcessTree.ProcessCallable<T>
-
- All Superinterfaces:
Serializable
- Enclosing class:
- ProcessTree
public static interface ProcessTree.ProcessCallable<T> extends Serializable
Code that gets executed on the machine where theProcessTree.OSProcessis local. Used to act onProcessTree.OSProcess.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tinvoke(ProcessTree.OSProcess process, hudson.remoting.VirtualChannel channel)Performs the computational task on the node where the data is located.
-
-
-
Method Detail
-
invoke
T invoke(ProcessTree.OSProcess process, hudson.remoting.VirtualChannel channel) throws IOException
Performs the computational task on the node where the data is located.- Parameters:
process-ProcessTree.OSProcessthat represents the local process.channel- The "back pointer" of theChannelthat represents the communication with the node from where the code was sent.- Throws:
IOException
-
-