Module io.inverno.mod.configuration
Package io.inverno.mod.configuration
Class AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A,B extends AbstractPropertiesConfigurationSource<A,B>>
java.lang.Object
io.inverno.mod.configuration.AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A,B>
- Type Parameters:
A
- raw configuration value typeB
- the properties configuration source type
- All Implemented Interfaces:
ExecutableConfigurationQuery<AbstractPropertiesConfigurationSource.PropertyConfigurationQuery<A,
B>, AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A, B>>
- Enclosing class:
AbstractPropertiesConfigurationSource<A,
B extends AbstractPropertiesConfigurationSource<A, B>>
public static class AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A,B extends AbstractPropertiesConfigurationSource<A,B>>
extends Object
implements ExecutableConfigurationQuery<AbstractPropertiesConfigurationSource.PropertyConfigurationQuery<A,B>,AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A,B>>
The executable configuration query used by a properties configuration source.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionand()
Chains another query.execute()
Executes the chain of configuration queries.withParameters
(List<ConfigurationKey.Parameter> parameters) Defines parameters that specify the context in which configuration properties are to be retrieved.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.inverno.mod.configuration.ExecutableConfigurationQuery
withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters
-
Method Details
-
withParameters
public AbstractPropertiesConfigurationSource.PropertyExecutableConfigurationQuery<A,B> withParameters(List<ConfigurationKey.Parameter> parameters) throws IllegalArgumentException Description copied from interface:ExecutableConfigurationQuery
Defines parameters that specify the context in which configuration properties are to be retrieved.
- Specified by:
withParameters
in interfaceExecutableConfigurationQuery<A,
B extends AbstractPropertiesConfigurationSource<A, B>> - Parameters:
parameters
- a list of parameters- Returns:
- the executable configuration query
- Throws:
IllegalArgumentException
- if parameters were specified more than once
-
and
Description copied from interface:ExecutableConfigurationQuery
Chains another query.
- Specified by:
and
in interfaceExecutableConfigurationQuery<A,
B extends AbstractPropertiesConfigurationSource<A, B>> - Returns:
- a configuration query
-
execute
Description copied from interface:ExecutableConfigurationQuery
Executes the chain of configuration queries.
Results are emitted in the same order as the queries.
- Specified by:
execute
in interfaceExecutableConfigurationQuery<A,
B extends AbstractPropertiesConfigurationSource<A, B>> - Returns:
- a stream of configuration query results
-