org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.internal
Class RepositoryContext
java.lang.Object
org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.internal.RepositoryContext
public class RepositoryContext
- extends Object
Git Repository Context class. Keeps track of git configurations per tenant.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryContext
public RepositoryContext()
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)
getKeyBasedAuthentication
public boolean getKeyBasedAuthentication()
setKeyBasedAuthentication
public void setKeyBasedAuthentication(boolean keyBasedAuthentication)
getRepoUsername
public String getRepoUsername()
setRepoUsername
public void setRepoUsername(String repoUsername)
getRepoPassword
public String getRepoPassword()
setRepoPassword
public void setRepoPassword(String repoPassword)
getArtifactSyncSchedular
public ScheduledExecutorService getArtifactSyncSchedular()
setArtifactSyncSchedular
public void setArtifactSyncSchedular(ScheduledExecutorService artifactSyncSchedular)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.