Package jenkins.plugins.git
Interface GitSCMFileSystem.FSFunction<V>
-
- Type Parameters:
V- the return type
- Enclosing class:
- GitSCMFileSystem
public static interface GitSCMFileSystem.FSFunction<V>Simple callback that is used withGitSCMFileSystem.invoke(jenkins.plugins.git.GitSCMFileSystem.FSFunction)in order to provide a locked view of the Git repository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vinvoke(org.eclipse.jgit.lib.Repository repository)Called with a lock on the repository in order to perform some operations that might result in changes and necessary re-indexing
-
-
-
Method Detail
-
invoke
V invoke(org.eclipse.jgit.lib.Repository repository) throws IOException, InterruptedException
Called with a lock on the repository in order to perform some operations that might result in changes and necessary re-indexing- Parameters:
repository- the bare git repository- Returns:
- value to return from
GitSCMFileSystem.invoke(jenkins.plugins.git.GitSCMFileSystem.FSFunction) - Throws:
IOException- if there is an I/O errorInterruptedException- if interrupted
-
-