com.atlassian.theplugin.commons.cfg
Class CfgManagerImpl
java.lang.Object
com.atlassian.theplugin.commons.cfg.CfgManagerImpl
- All Implemented Interfaces:
- BambooCfgManager, CfgManager
public class CfgManagerImpl
- extends java.lang.Object
- implements CfgManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CfgManagerImpl
public CfgManagerImpl()
getProjectConfiguration
public ProjectConfiguration getProjectConfiguration(ProjectId projectId)
- Specified by:
getProjectConfiguration
in interface CfgManager
getAllServers
public java.util.Collection<ServerCfg> getAllServers(ProjectId projectId)
- Specified by:
getAllServers
in interface CfgManager
getAllCrucibleServers
public java.util.Collection<CrucibleServerCfg> getAllCrucibleServers(ProjectId projectId)
- Specified by:
getAllCrucibleServers
in interface CfgManager
getProjectSpecificServers
public java.util.Collection<ServerCfg> getProjectSpecificServers(ProjectId projectId)
- Specified by:
getProjectSpecificServers
in interface CfgManager
getGlobalServers
public java.util.Collection<ServerCfg> getGlobalServers()
- Specified by:
getGlobalServers
in interface CfgManager
getAllEnabledServers
public java.util.Collection<ServerCfg> getAllEnabledServers(ProjectId projectId)
- Specified by:
getAllEnabledServers
in interface CfgManager
getGlobalBambooCfg
public BambooCfg getGlobalBambooCfg()
updateProjectConfiguration
public void updateProjectConfiguration(ProjectId projectId,
ProjectConfiguration projectConfiguration)
- Specified by:
updateProjectConfiguration
in interface CfgManager
addProjectConfigurationListener
public void addProjectConfigurationListener(ProjectId projectId,
ConfigurationListener configurationListener)
- Specified by:
addProjectConfigurationListener
in interface CfgManager
removeProjectConfigurationListener
public boolean removeProjectConfigurationListener(ProjectId projectId,
ConfigurationListener configurationListener)
- Specified by:
removeProjectConfigurationListener
in interface CfgManager
updateGlobalConfiguration
public void updateGlobalConfiguration(GlobalConfiguration globalConfiguration)
- Specified by:
updateGlobalConfiguration
in interface CfgManager
addProjectSpecificServer
public void addProjectSpecificServer(ProjectId projectId,
ServerCfg serverCfg)
- Specified by:
addProjectSpecificServer
in interface CfgManager
addGlobalServer
public void addGlobalServer(ServerCfg serverCfg)
- Specified by:
addGlobalServer
in interface CfgManager
removeProject
public ProjectConfiguration removeProject(ProjectId projectId)
- Specified by:
removeProject
in interface CfgManager
removeGlobalServer
public ServerCfg removeGlobalServer(ServerId serverId)
- Specified by:
removeGlobalServer
in interface CfgManager
removeProjectSpecificServer
public ServerCfg removeProjectSpecificServer(ProjectId projectId,
ServerId serverId)
- Specified by:
removeProjectSpecificServer
in interface CfgManager
hasProject
public boolean hasProject(ProjectId projectId)
- Specified by:
hasProject
in interface CfgManager
getAllEnabledBambooServers
public java.util.Collection<BambooServerCfg> getAllEnabledBambooServers(ProjectId projectId)
- Specified by:
getAllEnabledBambooServers
in interface BambooCfgManager
getServer
public ServerCfg getServer(ProjectId projectId,
ServerId serverId)
- Specified by:
getServer
in interface CfgManager
getAllEnabledCrucibleServers
public java.util.Collection<CrucibleServerCfg> getAllEnabledCrucibleServers(ProjectId projectId)
- Specified by:
getAllEnabledCrucibleServers
in interface CfgManager
getAllEnabledJiraServers
public java.util.Collection<JiraServerCfg> getAllEnabledJiraServers(ProjectId projectId)
- Specified by:
getAllEnabledJiraServers
in interface CfgManager
getAllEnabledServers
public java.util.Collection<ServerCfg> getAllEnabledServers(ProjectId projectId,
ServerType serverType)
- Specified by:
getAllEnabledServers
in interface CfgManager
update
public void update(GlobalConfiguration globalConfiguration)
getAllUniqueServers
public java.util.Collection<ServerCfg> getAllUniqueServers()
- Specified by:
getAllUniqueServers
in interface CfgManager
Copyright © 2008-2009 Atlassian Pty Ltd. All Rights Reserved.