|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl
public class DeploymentSynchronizerServiceImpl
| Constructor Summary | |
|---|---|
DeploymentSynchronizerServiceImpl()
|
|
| Method Summary | |
|---|---|
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)
|
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)
|
boolean |
update(String rootPath,
String filePath,
int depth)
Invoke the update operation on the specified file in the repository, with given depth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentSynchronizerServiceImpl()
| Method Detail |
|---|
public boolean synchronizerExists(String filePath)
DeploymentSynchronizerService
synchronizerExists in interface org.wso2.carbon.core.deployment.DeploymentSynchronizersynchronizerExists in interface DeploymentSynchronizerServicefilePath - Location of the repository in file system
public boolean isAutoCommitOn(String filePath)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
isAutoCommitOn in interface org.wso2.carbon.core.deployment.DeploymentSynchronizerisAutoCommitOn in interface DeploymentSynchronizerServicefilePath - Location of the repository in file system
DeploymentSynchronizerException - if a deployment synchronizer does
not exist for the specified path
public boolean isAutoCheckoutOn(String filePath)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
isAutoCheckoutOn in interface org.wso2.carbon.core.deployment.DeploymentSynchronizerisAutoCheckoutOn in interface DeploymentSynchronizerServicefilePath - Location of the repository in file system
DeploymentSynchronizerException - if a deployment synchronizer does not exist
for the specified path
public long getLastCommitTime(String filePath)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
getLastCommitTime in interface org.wso2.carbon.core.deployment.DeploymentSynchronizergetLastCommitTime in interface DeploymentSynchronizerServicefilePath - Location of the repository in file system
DeploymentSynchronizerException - if a deployment synchronizer does not exist
for the specified path
public long getLastCheckoutTime(String filePath)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
getLastCheckoutTime in interface org.wso2.carbon.core.deployment.DeploymentSynchronizergetLastCheckoutTime in interface DeploymentSynchronizerServicefilePath - Location of the repository in file system
DeploymentSynchronizerException - if a deployment synchronizer does not exist
for the specified pathpublic boolean update(int tenantId)
update in interface org.wso2.carbon.core.deployment.DeploymentSynchronizerpublic boolean commit(int tenantId)
commit in interface org.wso2.carbon.core.deployment.DeploymentSynchronizer
public boolean checkout(String filePath)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
checkout in interface org.wso2.carbon.core.deployment.DeploymentSynchronizercheckout in interface DeploymentSynchronizerServicefilePath - Location of the repository in file system
DeploymentSynchronizerException - if a deployment synchronizer does not exist
for the specified path
public boolean checkout(String filePath,
int depth)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
checkout in interface org.wso2.carbon.core.deployment.DeploymentSynchronizercheckout in interface DeploymentSynchronizerServicefilePath - Location of the repository in file systemdepth - Depth given to check-out, eg 0 - empty, 3 - infinite
DeploymentSynchronizerException - on error
public boolean update(String rootPath,
String filePath,
int depth)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
update in interface org.wso2.carbon.core.deployment.DeploymentSynchronizerupdate in interface DeploymentSynchronizerServicerootPath - - 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)
DeploymentSynchronizerException - on error
public boolean commit(String filePath)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
commit in interface org.wso2.carbon.core.deployment.DeploymentSynchronizercommit in interface DeploymentSynchronizerServicefilePath - Location of the repository in file system
DeploymentSynchronizerException - if a deployment synchronizer does not exist
for the specified path
public boolean commit(String rootPath,
String filePath)
throws DeploymentSynchronizerException
DeploymentSynchronizerService
commit in interface org.wso2.carbon.core.deployment.DeploymentSynchronizercommit in interface DeploymentSynchronizerServicerootPath - repo path at which the dep synch is registeredfilePath - Location of the repository in file system
DeploymentSynchronizerException - if a deployment synchronizer does not exist
for the specified path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||