Module io.inverno.mod.configuration
Package io.inverno.mod.configuration
Class AbstractHashConfigurationSource.HashExecutableConfigurationQuery<A,B extends AbstractHashConfigurationSource<A,B>>
java.lang.Object
io.inverno.mod.configuration.AbstractHashConfigurationSource.HashExecutableConfigurationQuery<A,B>
- Type Parameters:
A
- raw configuration value typeB
- the hash configuration source type
- All Implemented Interfaces:
ExecutableConfigurationQuery<AbstractHashConfigurationSource.HashConfigurationQuery<A,
B>, AbstractHashConfigurationSource.HashExecutableConfigurationQuery<A, B>>
- Enclosing class:
AbstractHashConfigurationSource<A,
B extends AbstractHashConfigurationSource<A, B>>
public static class AbstractHashConfigurationSource.HashExecutableConfigurationQuery<A,B extends AbstractHashConfigurationSource<A,B>>
extends Object
implements ExecutableConfigurationQuery<AbstractHashConfigurationSource.HashConfigurationQuery<A,B>,AbstractHashConfigurationSource.HashExecutableConfigurationQuery<A,B>>
The executable configuration query used by a hash 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
-
and
Description copied from interface:ExecutableConfigurationQuery
Chains another query.
- Specified by:
and
in interfaceExecutableConfigurationQuery<A,
B extends AbstractHashConfigurationSource<A, B>> - Returns:
- a configuration query
-
withParameters
public AbstractHashConfigurationSource.HashExecutableConfigurationQuery<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 AbstractHashConfigurationSource<A, B>> - Parameters:
parameters
- a list of parameters- Returns:
- the executable configuration query
- Throws:
IllegalArgumentException
- if parameters were specified more than once
-
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 AbstractHashConfigurationSource<A, B>> - Returns:
- a stream of configuration query results
-