Module io.inverno.mod.configuration
Package io.inverno.mod.configuration
Interface ConfigurationQuery<A extends ConfigurationQuery<A,B>,B extends ExecutableConfigurationQuery<A,B>>
- Type Parameters:
A
- the query typeB
- the executable query type
- All Known Implementing Classes:
AbstractHashConfigurationSource.HashConfigurationQuery
,AbstractPropertiesConfigurationSource.PropertyConfigurationQuery
,CompositeConfigurationSource.CompositeConfigurationQuery
,RedisConfigurationSource.RedisConfigurationQuery
,VersionedRedisConfigurationSource.VersionedRedisConfigurationQuery
public interface ConfigurationQuery<A extends ConfigurationQuery<A,B>,B extends ExecutableConfigurationQuery<A,B>>
A configuration query is used to query configuration properties from a configuration source.
Note that a single query can result in multiple results being returned if multiple properties have been requested.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
-
Method Details
-
get
Returns an executable query that retrieves the specified properties.
- Parameters:
names
- a list of properties to retrieve- Returns:
- an executable query
- Throws:
IllegalArgumentException
- if the array of names is null or empty
-