Class GitRepositoryContext
- java.lang.Object
-
- org.wso2.carbon.deployment.synchronizer.git.internal.GitRepositoryContext
-
public class GitRepositoryContext extends Object
Git Repository Context class. Keeps track of git configurations per tenant.
-
-
Constructor Summary
Constructors Constructor Description GitRepositoryContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancloneExists()org.eclipse.jgit.api.GitgetGit()StringgetGitLocalRepoPath()StringgetGitRemoteRepoUrl()FilegetGitRepoDir()booleangetKeyBasedAuthentication()org.eclipse.jgit.lib.RepositorygetLocalRepo()RepositoryInformationServiceClientgetRepoInfoServiceClient()intgetTenantId()voidsetCloneExists(boolean cloneExists)voidsetGit(org.eclipse.jgit.api.Git git)voidsetGitLocalRepoPath(String gitLocalRepoPath)voidsetGitRemoteRepoUrl(String gitRemoteRepoUrl)voidsetGitRepoDir(File gitRepoDir)voidsetKeyBasedAuthentication(boolean keyBasedAuthentication)voidsetLocalRepo(org.eclipse.jgit.lib.Repository localRepo)voidsetRepoInfoServiceClient(RepositoryInformationServiceClient repoInfoServiceClient)voidsetTenantId(int tenantId)
-
-
-
Method Detail
-
getGitRemoteRepoUrl
public String getGitRemoteRepoUrl()
-
setGitRemoteRepoUrl
public void setGitRemoteRepoUrl(String gitRemoteRepoUrl)
-
getGitLocalRepoPath
public String getGitLocalRepoPath()
-
setGitLocalRepoPath
public void setGitLocalRepoPath(String gitLocalRepoPath)
-
getLocalRepo
public org.eclipse.jgit.lib.Repository getLocalRepo()
-
setLocalRepo
public void setLocalRepo(org.eclipse.jgit.lib.Repository localRepo)
-
getGit
public org.eclipse.jgit.api.Git getGit()
-
setGit
public void setGit(org.eclipse.jgit.api.Git git)
-
cloneExists
public boolean cloneExists()
-
setCloneExists
public void setCloneExists(boolean cloneExists)
-
getTenantId
public int getTenantId()
-
setTenantId
public void setTenantId(int tenantId)
-
getGitRepoDir
public File getGitRepoDir()
-
setGitRepoDir
public void setGitRepoDir(File gitRepoDir)
-
getRepoInfoServiceClient
public RepositoryInformationServiceClient getRepoInfoServiceClient()
-
setRepoInfoServiceClient
public void setRepoInfoServiceClient(RepositoryInformationServiceClient repoInfoServiceClient)
-
getKeyBasedAuthentication
public boolean getKeyBasedAuthentication()
-
setKeyBasedAuthentication
public void setKeyBasedAuthentication(boolean keyBasedAuthentication)
-
-