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 the ProcessTree.OSProcess is local. Used to act on ProcessTree.OSProcess.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(ProcessTree.OSProcess process, hudson.remoting.VirtualChannel channel)
    Performs the computational task on the node where the data is located.
  • Method Details

    • 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.OSProcess that represents the local process.
      channel - The "back pointer" of the Channel that represents the communication with the node from where the code was sent.
      Throws:
      IOException