Module io.inverno.mod.configuration
Package io.inverno.mod.configuration
Class AbstractPropertiesConfigurationSource.PropertyConfigurationQuery<A,B extends AbstractPropertiesConfigurationSource<A,B>>
java.lang.Object
io.inverno.mod.configuration.AbstractPropertiesConfigurationSource.PropertyConfigurationQuery<A,B>
- Type Parameters:
A
- raw configuration value typeB
- the properties configuration source type
- All Implemented Interfaces:
ConfigurationQuery<AbstractPropertiesConfigurationSource.PropertyConfigurationQuery<A,
B>, AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A, B>>
- Enclosing class:
AbstractPropertiesConfigurationSource<A,
B extends AbstractPropertiesConfigurationSource<A, B>>
public static class AbstractPropertiesConfigurationSource.PropertyConfigurationQuery<A,B extends AbstractPropertiesConfigurationSource<A,B>>
extends Object
implements ConfigurationQuery<AbstractPropertiesConfigurationSource.PropertyConfigurationQuery<A,B>,AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A,B>>
The configuration query used by a properties configuration source.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns an executable query that retrieves the specified properties.
-
Method Details
-
get
public AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A,B> get(String... names) throws IllegalArgumentException Description copied from interface:ConfigurationQuery
Returns an executable query that retrieves the specified properties.
- Specified by:
get
in interfaceConfigurationQuery<A,
B extends AbstractPropertiesConfigurationSource<A, B>> - Parameters:
names
- a list of properties to retrieve- Returns:
- an executable query
- Throws:
IllegalArgumentException
- if the array of names is null or empty
-