com.atlassian.fisheye.plugins.scm.utils
Class ConfigurableSCMModule<T extends SimpleConfiguration>
java.lang.Object
com.atlassian.fisheye.plugins.scm.utils.ConfigurableSCMModule<T>
- All Implemented Interfaces:
- SCMModule, Configurable<java.util.List<T>>
public abstract class ConfigurableSCMModule<T extends SimpleConfiguration>
- extends java.lang.Object
- implements SCMModule, Configurable<java.util.List<T>>
An SCMSource which supports a simple configuration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableSCMModule
protected ConfigurableSCMModule(ModuleConfigurationStore moduleConfigurationStore)
getXStream
protected com.thoughtworks.xstream.XStream getXStream()
setModuleDescriptor
public void setModuleDescriptor(com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
- Specified by:
setModuleDescriptor
in interface SCMModule
getModuleDescriptor
public com.atlassian.plugin.ModuleDescriptor getModuleDescriptor()
- Specified by:
getModuleDescriptor
in interface SCMModule
getConfiguration
public java.util.List<T> getConfiguration()
- Specified by:
getConfiguration
in interface Configurable<java.util.List<T extends SimpleConfiguration>>
- Returns:
- a List of repository configurations.
setConfiguration
public void setConfiguration(java.util.List<T> config)
- Specified by:
setConfiguration
in interface Configurable<java.util.List<T extends SimpleConfiguration>>
getRepositories
public java.util.Collection<SCMRepository> getRepositories()
- Specified by:
getRepositories
in interface SCMModule
createRepository
protected abstract SCMRepository createRepository(T config)
configChanged
protected void configChanged()