Modifier and Type | Method and Description |
---|---|
abstract void |
RepositoryManager.addRepository(int tenantId,
String url)
Adds the already existing repository specified by tenant
|
boolean |
DeploymentSynchronizer.checkout()
Checkout the artifacts stored in the repository to the file system.
|
boolean |
ArtifactRepository.checkout(int tenantId,
String filePath)
Checkout all or updated artifacts from the remote repository to the local file system
|
boolean |
ArtifactRepository.checkout(int tenantId,
String filePath,
int depth)
Deprecated.
|
boolean |
DeploymentSynchronizer.checkout(String filePath,
int depth)
Deprecated.
|
boolean |
DeploymentSynchronizer.commit()
Commit the artifacts in the file system repository to the remote repository
|
boolean |
ArtifactRepository.commit(int tenantId,
String filePath)
Commit the artifacts in the local repository to the remote repository
|
boolean |
DeploymentSynchronizer.commit(String filePath)
Commit the artifacts from the given path in the file system repository to the remote repository
|
RepositoryInformation |
RepositoryCreator.createRepository(int tenantId,
String baseUrl,
String userName,
String password)
Creates a repository for the tenant
|
void |
DeploymentSynchronizer.doInitialSyncUp() |
abstract RepositoryInformation |
RepositoryManager.getCredentialsInformation(int tenantId)
Returns a RepositoryInformation instance populated with repository credentials for a tenant
|
abstract RepositoryInformation |
RepositoryManager.getUrlInformation(int tenantId)
Returns a RepositoryInformation instance populated with repository url for a tenant
|
void |
ArtifactRepository.init(int tenantId)
Initializes the remote artifact repository and prepare to synchronize the local
repository against it.
|
void |
ArtifactRepository.initAutoCheckout(boolean useEventing)
Setup the remote repository for auto checkouts
|
abstract void |
RepositoryManager.provisionRepository(int tenantId)
Creates a repository for the tenant in the location specified, if it doesn't exist already
|
boolean |
DeploymentSynchronizer.syncGhostMetaArtifacts()
Deprecated.
|
boolean |
ArtifactRepository.update(int tenantId,
String rootPath,
String filePathToUpdate,
int depth)
Deprecated.
|
boolean |
DeploymentSynchronizer.update(String rootPath,
String filePath,
int depth)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DeploymentSynchronizerServiceImpl.checkout(String filePath) |
boolean |
DeploymentSynchronizerServiceImpl.checkout(String filePath,
int depth)
Deprecated.
|
boolean |
DeploymentSynchronizerServiceImpl.commit(String filePath) |
boolean |
DeploymentSynchronizerServiceImpl.commit(String rootPath,
String filePath) |
long |
DeploymentSynchronizerServiceImpl.getLastCheckoutTime(String filePath) |
long |
DeploymentSynchronizerServiceImpl.getLastCommitTime(String filePath) |
boolean |
DeploymentSynchronizerServiceImpl.isAutoCheckoutOn(String filePath) |
boolean |
DeploymentSynchronizerServiceImpl.isAutoCommitOn(String filePath) |
boolean |
DeploymentSynchronizerServiceImpl.update(String rootPath,
String filePath,
int depth)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DeploymentSynchronizerConfiguration |
CarbonRepositoryUtils.getActiveSynchronizerConfiguration(int tenantId)
Loads the deployment synchronizer configuration.
|
static DeploymentSynchronizerConfiguration |
CarbonRepositoryUtils.getDefaultDeploymentSyncConfiguration() |
static DeploymentSynchronizerConfiguration |
CarbonRepositoryUtils.getDeploymentSyncConfigurationFromConf()
Load the deployment synchronizer configuration from the global ServerConfiguration
of Carbon.
|
static boolean |
CarbonRepositoryUtils.isSynchronizerEnabled(int tenantId)
Checks whether deployment synchronizer is enabled for the Carbon repository of the
specified tenant.
|
static DeploymentSynchronizer |
CarbonRepositoryUtils.newCarbonRepositorySynchronizer(int tenantId)
Create and initialize a new DeploymentSynchronizer for the Carbon repository of the
specified tenant.
|
Modifier and Type | Method and Description |
---|---|
void |
DeploymentSynchronizerAdmin.checkout() |
boolean |
DeploymentSynchronizerService.checkout(String filePath)
Invoke the checkout operation on the specified repository
|
boolean |
DeploymentSynchronizerService.checkout(String filePath,
int depth)
Deprecated.
|
void |
DeploymentSynchronizerAdmin.commit() |
boolean |
DeploymentSynchronizerService.commit(String filePath)
Invoke the commit operation on the specified repository
|
boolean |
DeploymentSynchronizerService.commit(String rootPath,
String filePath)
Invoke the commit operation on the specified repository at rootPath, with the given
filePath to commit.
|
void |
DeploymentSynchronizerAdmin.disableSynchronizerForCarbonRepository() |
void |
DeploymentSynchronizerAdmin.enableSynchronizerForCarbonRepository(DeploymentSynchronizerConfiguration config) |
long |
DeploymentSynchronizerService.getLastCheckoutTime(String filePath)
Gets the time at which the checkout operation was last invoked on the given repository
|
long |
DeploymentSynchronizerService.getLastCommitTime(String filePath)
Gets the time at which the commit operation was last invoked on the given repository
|
DeploymentSynchronizerConfiguration |
DeploymentSynchronizerAdmin.getSynchronizerConfigurationForCarbonRepository() |
boolean |
DeploymentSynchronizerService.isAutoCheckoutOn(String filePath)
Check whether auto checkout has been engaged on the specified repository
|
boolean |
DeploymentSynchronizerService.isAutoCommitOn(String filePath)
Check whether auto commit has been engaged on the specified repository
|
boolean |
DeploymentSynchronizerService.update(String rootPath,
String filePath,
int depth)
Deprecated.
|
void |
DeploymentSynchronizerAdmin.updateSynchronizerForCarbonRepository(DeploymentSynchronizerConfiguration config) |
Copyright © 2022 WSO2. All rights reserved.