public interface RepositoryCallback<T> extends Serializable
Repository object is accessible.
If necessary, the closure will be serialized and sent to remote.FilePath.FileCallable| Modifier and Type | Method and Description |
|---|---|
T |
invoke(Repository repo,
hudson.remoting.VirtualChannel channel)
Performs the computational task on the node where the data is located.
|
T invoke(Repository repo, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
All the exceptions are forwarded to the caller.
repo - Entry point to the git database. Caller is responsible for closing the repository.channel - The "back pointer" of the Channel that represents the communication
with the node from where the code was sent.IOException - if any IO failureInterruptedException - if interrupted.Copyright © 2013–2020. All rights reserved.