Class SVNBasedArtifactRepository
- java.lang.Object
-
- org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository
-
- All Implemented Interfaces:
org.wso2.carbon.deployment.synchronizer.ArtifactRepository
public class SVNBasedArtifactRepository extends Object implements org.wso2.carbon.deployment.synchronizer.ArtifactRepository
Subversion based artifact repository can be used in conjunction with the DeploymentSynchronizer to synchronize a local repository against a remote SVN repository. By default this implementation does not entertain SVN externals but it can be enabled if required. This is based on the Subclipse SVN client adapter which in turns support SVN Kit, Java HL and command line SVN client adapters.
-
-
Constructor Summary
Constructors Constructor Description SVNBasedArtifactRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancheckout(int tenantId, String filePath)booleancheckout(int tenantId, String filePath, int depth)Deprecated.voidcleanupAutoCheckout()voidcleanupTenantContext(int tenantId)booleancommit(int tenantId, String filePath)booleanequals(Object o)List<org.wso2.carbon.deployment.synchronizer.util.RepositoryConfigParameter>getParameters()StringgetRepositoryType()inthashCode()voidinit(int tenantId)voidinitAutoCheckout(boolean useEventing)List<String>processUnversionedWebappActions(org.tigris.subversion.svnclientadapter.ISVNStatus[] status)booleanupdate(int tenantId, String rootPath, String filePathToUpdate, int depth)Deprecated.
-
-
-
Method Detail
-
init
public void init(int tenantId) throws org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException- Specified by:
initin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository- Throws:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
-
commit
public boolean commit(int tenantId, String filePath) throws org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException- Specified by:
commitin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository- Throws:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
-
checkout
public boolean checkout(int tenantId, String filePath) throws org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException- Specified by:
checkoutin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository- Throws:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
-
initAutoCheckout
public void initAutoCheckout(boolean useEventing) throws org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException- Specified by:
initAutoCheckoutin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository- Throws:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
-
cleanupAutoCheckout
public void cleanupAutoCheckout()
- Specified by:
cleanupAutoCheckoutin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository
-
getRepositoryType
public String getRepositoryType()
- Specified by:
getRepositoryTypein interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository
-
getParameters
public List<org.wso2.carbon.deployment.synchronizer.util.RepositoryConfigParameter> getParameters()
- Specified by:
getParametersin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository
-
checkout
@Deprecated public boolean checkout(int tenantId, String filePath, int depth) throws org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
Deprecated.This method is deprecated. ReferArtifactRepository.checkout(int, String, int)for more info.- Specified by:
checkoutin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository- Throws:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
-
update
@Deprecated public boolean update(int tenantId, String rootPath, String filePathToUpdate, int depth) throws org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
Deprecated.- Specified by:
updatein interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository- Throws:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException
-
cleanupTenantContext
public void cleanupTenantContext(int tenantId)
- Specified by:
cleanupTenantContextin interfaceorg.wso2.carbon.deployment.synchronizer.ArtifactRepository
-
-