com.atlassian.config
Interface ConfigurationPersister

All Known Implementing Classes:
AbstractConfigurationPersister, AbstractDom4jXmlConfigurationPersister, DefaultDom4jXmlConfigurationPersister

public interface ConfigurationPersister


Method Summary
 void addConfigElement(Object item, String propertyName)
           
 void addConfigMapping(Class propertyType, Class configType)
           
 void clear()
           
 Object getConfigElement(Class propertyType, String propertyName)
           
 String getStringConfigElement(String propertyName)
           
 Object load(InputStream is)
           
 Object load(String configPath, String configFile)
           
 void save(String configPath, String configFile)
           
 

Method Detail

addConfigMapping

void addConfigMapping(Class propertyType,
                      Class configType)

save

void save(String configPath,
          String configFile)
          throws ConfigurationException
Throws:
ConfigurationException

load

Object load(String configPath,
            String configFile)
            throws ConfigurationException
Throws:
ConfigurationException

load

Object load(InputStream is)
            throws ConfigurationException
Throws:
ConfigurationException

addConfigElement

void addConfigElement(Object item,
                      String propertyName)
                      throws ConfigurationException
Throws:
ConfigurationException

getConfigElement

Object getConfigElement(Class propertyType,
                        String propertyName)
                        throws ConfigurationException
Throws:
ConfigurationException

getStringConfigElement

String getStringConfigElement(String propertyName)
                              throws ConfigurationException
Throws:
ConfigurationException

clear

void clear()


Atlassian Config is developed by Atlassian Software Systems.