org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl
Class GitBasedArtifactRepository

java.lang.Object
  extended by org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl.GitBasedArtifactRepository

public class GitBasedArtifactRepository
extends Object

Git based artifact repository.


Method Summary
 boolean checkout(RepositoryInformation repositoryInformation)
           
 void cleanupAutoCheckout()
           
 boolean cloneExists(RepositoryInformation repositoryInformation)
           
 boolean commit()
          Commits any changes in the local repository to the relevant remote repository
static GitBasedArtifactRepository getInstance()
           
 String getRepositoryType()
           
 void scheduleSyncTask(RepositoryInformation repoInformation, long delay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.