public class DeploymentSynchronizerAdmin
extends org.wso2.carbon.core.AbstractAdmin
Constructor and Description |
---|
DeploymentSynchronizerAdmin() |
Modifier and Type | Method and Description |
---|---|
void |
checkout() |
void |
commit() |
void |
disableSynchronizerForCarbonRepository() |
void |
enableSynchronizerForCarbonRepository(DeploymentSynchronizerConfiguration config) |
long |
getLastCheckoutTime() |
long |
getLastCommitTime() |
RepositoryConfigParameter[] |
getParamsByRepositoryType(String repositoryType) |
String[] |
getRepositoryTypes()
Get all available ArtifactRepositories
|
DeploymentSynchronizerConfiguration |
getSynchronizerConfigurationForCarbonRepository() |
boolean |
synchronizerEnabledForCarbonRepository() |
void |
updateSynchronizerForCarbonRepository(DeploymentSynchronizerConfiguration config) |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
public void enableSynchronizerForCarbonRepository(DeploymentSynchronizerConfiguration config) throws DeploymentSynchronizerException
DeploymentSynchronizerException
public void disableSynchronizerForCarbonRepository() throws DeploymentSynchronizerException
DeploymentSynchronizerException
public void updateSynchronizerForCarbonRepository(DeploymentSynchronizerConfiguration config) throws DeploymentSynchronizerException
DeploymentSynchronizerException
public long getLastCommitTime()
public long getLastCheckoutTime()
public void checkout() throws DeploymentSynchronizerException
DeploymentSynchronizerException
public void commit() throws DeploymentSynchronizerException
DeploymentSynchronizerException
public boolean synchronizerEnabledForCarbonRepository()
public DeploymentSynchronizerConfiguration getSynchronizerConfigurationForCarbonRepository() throws DeploymentSynchronizerException
DeploymentSynchronizerException
public RepositoryConfigParameter[] getParamsByRepositoryType(String repositoryType)
public String[] getRepositoryTypes()
Copyright © 2017 WSO2. All rights reserved.