Package hudson.plugins.git.util
Class RevCommitRepositoryCallback
java.lang.Object
hudson.plugins.git.util.RevCommitRepositoryCallback
- All Implemented Interfaces:
Serializable
,org.jenkinsci.plugins.gitclient.RepositoryCallback<org.eclipse.jgit.revwalk.RevCommit>
public final class RevCommitRepositoryCallback
extends Object
implements org.jenkinsci.plugins.gitclient.RepositoryCallback<org.eclipse.jgit.revwalk.RevCommit>
Retrieves
RevCommit
from given Build
revision.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jgit.revwalk.RevCommit
invoke
(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel virtualChannel)
-
Constructor Details
-
RevCommitRepositoryCallback
-
-
Method Details
-
invoke
public org.eclipse.jgit.revwalk.RevCommit invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel virtualChannel) throws IOException, InterruptedException - Specified by:
invoke
in interfaceorg.jenkinsci.plugins.gitclient.RepositoryCallback<org.eclipse.jgit.revwalk.RevCommit>
- Throws:
IOException
InterruptedException
-