Interface ConfigSourceFactory
-
- All Known Implementing Classes:
DefaultConfigSourceFactory
public interface ConfigSourceFactoryA factory for creatingConfigSources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ConfigSourcegetConfigSource(@NotNull java.lang.String name)Returns aConfigSourceby name.@NotNull ConfigSource @NotNull []getConfigSources()Returns all defined configuration sources.@NotNull ConfigSourcegetDefaultConfigSource()Returns the defaultConfigSource.
-
-
-
Method Detail
-
getConfigSources
@NotNull @NotNull ConfigSource @NotNull [] getConfigSources()
Returns all defined configuration sources. The returned array may be modified.- Returns:
- the defined configuration sources
-
getConfigSource
@NotNull @NotNull ConfigSource getConfigSource(@NotNull @NotNull java.lang.String name)
Returns aConfigSourceby name.- Parameters:
name- the name- Returns:
- the configuration source of a default configuration source if the name does not exist
-
getDefaultConfigSource
@NotNull @NotNull ConfigSource getDefaultConfigSource()
Returns the defaultConfigSource.- Returns:
- the default configuration source
-
-