public class DefaultConfigSourceFactory extends java.lang.Object implements ConfigSourceFactory
ConfigSourceFactory
that is configured through action keys.Constructor and Description |
---|
DefaultConfigSourceFactory()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ConfigSource |
getConfigSource(java.lang.String name)
Returns a
ConfigSource by name. |
ConfigSource[] |
getConfigSources()
Returns all defined configuration sources.
|
ConfigSource |
getDefaultConfigSource()
Returns the default
ConfigSource . |
public DefaultConfigSourceFactory()
@NotNull public ConfigSource[] getConfigSources()
getConfigSources
in interface ConfigSourceFactory
@NotNull public ConfigSource getConfigSource(@NotNull java.lang.String name)
ConfigSource
by name.getConfigSource
in interface ConfigSourceFactory
name
- the name@NotNull public ConfigSource getDefaultConfigSource()
ConfigSource
.getDefaultConfigSource
in interface ConfigSourceFactory