public abstract class ConfigurableSCMModule<T extends SimpleConfiguration> extends java.lang.Object implements SCMModule, Configurable<java.util.List<T>>
Modifier | Constructor and Description |
---|---|
protected |
ConfigurableSCMModule(ModuleConfigurationStore moduleConfigurationStore) |
Modifier and Type | Method and Description |
---|---|
protected void |
configChanged() |
protected abstract SCMRepository |
createRepository(T config) |
java.util.List<T> |
getConfiguration() |
com.atlassian.plugin.ModuleDescriptor<SCMModule> |
getModuleDescriptor() |
java.util.Collection<SCMRepository> |
getRepositories() |
protected com.thoughtworks.xstream.XStream |
getXStream() |
void |
setConfiguration(java.util.List<T> config) |
void |
setModuleDescriptor(com.atlassian.plugin.ModuleDescriptor<SCMModule> moduleDescriptor) |
protected ConfigurableSCMModule(ModuleConfigurationStore moduleConfigurationStore)
protected com.thoughtworks.xstream.XStream getXStream()
public void setModuleDescriptor(com.atlassian.plugin.ModuleDescriptor<SCMModule> moduleDescriptor)
setModuleDescriptor
in interface SCMModule
public com.atlassian.plugin.ModuleDescriptor<SCMModule> getModuleDescriptor()
getModuleDescriptor
in interface SCMModule
public java.util.List<T> getConfiguration()
getConfiguration
in interface Configurable<java.util.List<T extends SimpleConfiguration>>
public void setConfiguration(java.util.List<T> config)
setConfiguration
in interface Configurable<java.util.List<T extends SimpleConfiguration>>
public java.util.Collection<SCMRepository> getRepositories()
getRepositories
in interface SCMModule
protected abstract SCMRepository createRepository(T config)
protected void configChanged()