Class GitClient
- java.lang.Object
-
- com.xebialabs.xlrelease.scm.connector.GitClient
-
public class GitClient extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GitClient(GitConnectionSettings gitConnectionSettings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<org.eclipse.jgit.lib.Ref>fetchRemoteReferences()java.lang.StringgetLatestRevision()org.eclipse.jgit.lib.ObjectIdgetLatestRevisionObjectId()static voidremoveCurrentGitConnectionSettings()
-
-
-
Constructor Detail
-
GitClient
public GitClient(GitConnectionSettings gitConnectionSettings)
-
-
Method Detail
-
getLatestRevision
public java.lang.String getLatestRevision() throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
getLatestRevisionObjectId
public org.eclipse.jgit.lib.ObjectId getLatestRevisionObjectId() throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
fetchRemoteReferences
public java.util.Collection<org.eclipse.jgit.lib.Ref> fetchRemoteReferences() throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
removeCurrentGitConnectionSettings
public static void removeCurrentGitConnectionSettings()
-
-