public class FindCommitAuthorCallback extends RepositoryListenerAwareCallback<String>
Modifier and Type | Field and Description |
---|---|
org.eclipse.jgit.lib.ObjectId |
id
The commit Id
|
Constructor and Description |
---|
FindCommitAuthorCallback(org.eclipse.jgit.lib.ObjectId id)
Constructor for FindCommitAuthorCallback
|
Modifier and Type | Method and Description |
---|---|
String |
invoke(org.eclipse.jgit.lib.Repository repository,
hudson.remoting.VirtualChannel channel) |
public FindCommitAuthorCallback(org.eclipse.jgit.lib.ObjectId id)
id
- The Commit id of the commit of which to find the author.public String invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke
in interface org.jenkinsci.plugins.gitclient.RepositoryCallback<String>
invoke
in class RepositoryListenerAwareCallback<String>
IOException
InterruptedException
Copyright © 2016–2022. All rights reserved.