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>
RetrievesRevCommit
from givenBuild
revision.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RevCommitRepositoryCallback(Build revToBuild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jgit.revwalk.RevCommit
invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel virtualChannel)
-
-
-
Constructor Detail
-
RevCommitRepositoryCallback
public RevCommitRepositoryCallback(Build revToBuild)
-
-
Method Detail
-
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
-
-