org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl
Class GitBasedArtifactRepository
java.lang.Object
org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl.GitBasedArtifactRepository
public class GitBasedArtifactRepository
- extends Object
Git based artifact repository.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static GitBasedArtifactRepository getInstance()
commit
public boolean commit()
- Commits any changes in the local repository to the relevant remote repository
- Returns:
checkout
public boolean checkout(RepositoryInformation repositoryInformation)
scheduleSyncTask
public void scheduleSyncTask(RepositoryInformation repoInformation,
long delay)
cloneExists
public boolean cloneExists(RepositoryInformation repositoryInformation)
cleanupAutoCheckout
public void cleanupAutoCheckout()
getRepositoryType
public String getRepositoryType()
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.