public interface DeploymentSynchronizer
Modifier and Type | Method and Description |
---|---|
boolean |
checkout(String filePath)
Invoke the checkout operation on the specified repository
|
boolean |
checkout(String filePath,
int depth)
Invoke the checkout operation on the specified repository, with given depth
|
boolean |
commit(int tenantId)
Do a commit of the deployment repository
|
boolean |
commit(String filePath)
Invoke the commit operation on the specified repository.
|
boolean |
commit(String rootPath,
String filePath)
Invoke the commit operation on the specified repository at rootPath, with the given
filePath to commit.
|
long |
getLastCheckoutTime(String filePath)
Gets the time at which the checkout operation was last invoked on the given repository
|
long |
getLastCommitTime(String filePath)
Gets the time at which the commit operation was last invoked on the given repository
|
boolean |
isAutoCheckoutOn(String filePath)
Check whether auto checkout has been engaged on the specified repository
|
boolean |
isAutoCommitOn(String filePath)
Check whether auto commit has been engaged on the specified repository
|
boolean |
synchronizerExists(String filePath)
Checks whether a deployment synchronizer has been engaged on the specified path
|
boolean |
update(int tenantId)
Do an update of the deployment repository
|
boolean |
update(String rootPath,
String filePath,
int depth)
Invoke the update operation on the specified file in the repository, with given depth
|
boolean update(int tenantId)
tenantId
- The ID of the tenant which has to be synchronizedboolean commit(int tenantId)
tenantId
- The ID of the tenant which has to be synchronizedboolean synchronizerExists(String filePath)
filePath
- Location of the repository in file systemboolean isAutoCommitOn(String filePath)
filePath
- Location of the repository in file systemboolean isAutoCheckoutOn(String filePath)
filePath
- Location of the repository in file systemlong getLastCommitTime(String filePath)
filePath
- Location of the repository in file systemlong getLastCheckoutTime(String filePath)
filePath
- Location of the repository in file systemboolean checkout(String filePath)
filePath
- Location of the repository in file systemboolean checkout(String filePath, int depth)
filePath
- Location of the repository in file systemdepth
- Depth given to check-out, eg 0 - empty, 3 - infiniteboolean update(String rootPath, String filePath, int depth)
rootPath
- - root path of the repository of which the dep-sychronizer is registeredfilePath
- - location of the file in the repositorydepth
- Depth given to update, (eg 0 - empty, 3 - infinite)boolean commit(String filePath)
filePath
- Location of the repository in file systemboolean commit(String rootPath, String filePath)
rootPath
- repo path at which the dep synch is registeredfilePath
- Location of the repository in file systemCopyright © 2016 WSO2 Inc. All rights reserved.