public class ConfigurationTracker extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_TRACKER |
static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ConfigurationTracker(org.wso2.carbon.registry.core.session.UserRegistry configRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
activate(String configurationName) |
void |
create(String configurationName,
String description) |
void |
delete(String configurationName) |
ConfigurationInformation |
getConfigurationInformation(String name) |
List<ConfigurationInformation> |
getConfigurationList() |
String |
getCurrentConfigurationName() |
void |
init() |
boolean |
isConfigurationCreated(String name) |
boolean |
isConfigurationExists(String name) |
void |
update(String name,
boolean created) |
public static final org.apache.commons.logging.Log log
public static final String CONFIGURATION_TRACKER
public ConfigurationTracker(org.wso2.carbon.registry.core.session.UserRegistry configRegistry)
public String getCurrentConfigurationName()
public void create(String configurationName, String description) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public void activate(String configurationName) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public void delete(String configurationName) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public List<ConfigurationInformation> getConfigurationList() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public boolean isConfigurationCreated(String name) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public boolean isConfigurationExists(String name) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public void init() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public void update(String name, boolean created) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public ConfigurationInformation getConfigurationInformation(String name) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
Copyright © 2017 WSO2. All rights reserved.