Package hudson

Interface FilePath.FileCallable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T invoke​(File f, hudson.remoting.VirtualChannel channel)
      Performs the computational task on the node where the data is located.
      • Methods inherited from interface org.jenkinsci.remoting.RoleSensitive

        checkRoles
    • Method Detail

      • invoke

        T invoke​(File f,
                 hudson.remoting.VirtualChannel channel)
          throws IOException,
                 InterruptedException
        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 that FilePath has represented.
        channel - The "back pointer" of the Channel that represents the communication with the node from where the code was sent.
        Throws:
        IOException
        InterruptedException