Package hudson.plugins.git.util
Interface BuildChooserContext.ContextCallable<P,T>
-
- All Superinterfaces:
Serializable
- Enclosing interface:
- BuildChooserContext
public static interface BuildChooserContext.ContextCallable<P,T> extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
invoke(P param, hudson.remoting.VirtualChannel channel)
Performs the computational task on the node where the data is located.
-
-
-
Method Detail
-
invoke
T invoke(P param, 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:
param
- Context object.channel
- The "back pointer" of theChannel
that represents the communication with the node from where the code was sent.- Returns:
- result from invocation on node
- Throws:
IOException
- on input or output errorInterruptedException
- when interrupted
-
-