com.atlassian.theplugin.commons.cfg
Class GlobalConfigurationFactoryImpl
java.lang.Object
com.atlassian.theplugin.commons.cfg.GlobalConfigurationFactoryImpl
- All Implemented Interfaces:
- GlobalConfigurationFactory
public class GlobalConfigurationFactoryImpl
- extends java.lang.Object
- implements GlobalConfigurationFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalConfigurationFactoryImpl
public GlobalConfigurationFactoryImpl(java.lang.String globalSettingsFileName,
java.lang.String projectSettingsFileName)
loadProjectConfiguration
public ProjectConfiguration loadProjectConfiguration()
throws ServerCfgFactoryException
- Throws:
ServerCfgFactoryException
load
public GlobalConfiguration load()
throws ServerCfgFactoryException
- Specified by:
load
in interface GlobalConfigurationFactory
- Throws:
ServerCfgFactoryException
loadGlobalServers
public java.util.Collection<ServerCfg> loadGlobalServers()
throws ServerCfgFactoryException
- Throws:
ServerCfgFactoryException
loadServers
public java.util.Collection<ServerCfg> loadServers(com.atlassian.theplugin.commons.cfg.GlobalConfigurationFactoryImpl.InputStreamProvider inputStreamProvider)
throws ServerCfgFactoryException
- Throws:
ServerCfgFactoryException
loadProjectSpecificServers
public java.util.Collection<ServerCfg> loadProjectSpecificServers()
throws ServerCfgFactoryException
- Throws:
ServerCfgFactoryException
saveGlobalServers
public void saveGlobalServers(java.util.Collection<ServerCfg> servers)
throws ServerCfgFactoryException
- Throws:
ServerCfgFactoryException
saveProjectSpecificServers
public void saveProjectSpecificServers(java.util.Collection<ServerCfg> servers)
throws ServerCfgFactoryException
- Throws:
ServerCfgFactoryException
save
public void save(GlobalConfiguration globalConfiguration)
throws ServerCfgFactoryException
- Specified by:
save
in interface GlobalConfigurationFactory
- Throws:
ServerCfgFactoryException
Copyright © 2008-2009 Atlassian Pty Ltd. All Rights Reserved.