Interface ArtifactRepository


  • public interface ArtifactRepository
    Represents a remote repository instance. The DeploymentSynchronizer interacts with the remote repository through this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean checkout​(int tenantId, String filePath)
      Checkout all or updated artifacts from the remote repository to the local file system
      boolean checkout​(int tenantId, String filePath, int depth)
      Deprecated.
      void cleanupAutoCheckout()
      Clean up any actions taken during initializing auto checkout
      void cleanupTenantContext​(int tenantId)
      Cleanup the cached tenant context for the tenant specified by tenantId
      boolean commit​(int tenantId, String filePath)
      Commit the artifacts in the local repository to the remote repository
      List<RepositoryConfigParameter> getParameters()
      Get the list of configuration parameters specific for each Repository.
      String getRepositoryType()
      Get the Repository Type of the Synchronizer
      void init​(int tenantId)
      Initializes the remote artifact repository and prepare to synchronize the local repository against it.
      void initAutoCheckout​(boolean useEventing)
      Setup the remote repository for auto checkouts
      boolean update​(int tenantId, String rootPath, String filePathToUpdate, int depth)
      Deprecated.