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 |
---|---|
@NotNull ConfigSource |
getConfigSource(@NotNull java.lang.String name)
Returns a
ConfigSource by name. |
@NotNull ConfigSource[] |
getConfigSources()
Returns all defined configuration sources.
|
@NotNull ConfigSource |
getDefaultConfigSource()
Returns the default
ConfigSource . |
public DefaultConfigSourceFactory()
@NotNull public @NotNull ConfigSource[] getConfigSources()
ConfigSourceFactory
getConfigSources
in interface ConfigSourceFactory
@NotNull public @NotNull ConfigSource getConfigSource(@NotNull @NotNull java.lang.String name)
ConfigSourceFactory
ConfigSource
by name.getConfigSource
in interface ConfigSourceFactory
name
- the name@NotNull public @NotNull ConfigSource getDefaultConfigSource()
ConfigSourceFactory
ConfigSource
.getDefaultConfigSource
in interface ConfigSourceFactory