Class RepositoryInfoCallback
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.util.git.RepositoryInfoCallback
-
- All Implemented Interfaces:
Serializable
,org.jenkinsci.plugins.gitclient.RepositoryCallback<RepositoryInfo>
public final class RepositoryInfoCallback extends Object implements org.jenkinsci.plugins.gitclient.RepositoryCallback<RepositoryInfo>
Returns the RepositoryInfo instance for a certain repository using the JGit.This must be called using gitClient.withRepository(...) method. See GitUtils.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryInfoCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryInfo
invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel channel)
-
-
-
Method Detail
-
invoke
public RepositoryInfo invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
- Specified by:
invoke
in interfaceorg.jenkinsci.plugins.gitclient.RepositoryCallback<RepositoryInfo>
- Throws:
IOException
InterruptedException
-
-