Module io.inverno.mod.configuration
Class RedisConfigurationSource.RedisExecutableConfigurationQuery
java.lang.Object
io.inverno.mod.configuration.source.RedisConfigurationSource.RedisExecutableConfigurationQuery
- All Implemented Interfaces:
ExecutableConfigurationQuery<RedisConfigurationSource.RedisConfigurationQuery,
RedisConfigurationSource.RedisExecutableConfigurationQuery>
- Enclosing class:
RedisConfigurationSource
public static class RedisConfigurationSource.RedisExecutableConfigurationQuery
extends Object
implements ExecutableConfigurationQuery<RedisConfigurationSource.RedisConfigurationQuery,RedisConfigurationSource.RedisExecutableConfigurationQuery>
The executable configuration query used by the Redis configuration source.
- Since:
- 1.5
- 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<RedisConfigurationSource.RedisConfigurationQuery,
RedisConfigurationSource.RedisExecutableConfigurationQuery> - Returns:
- a configuration query
-
withParameters
public RedisConfigurationSource.RedisExecutableConfigurationQuery 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<RedisConfigurationSource.RedisConfigurationQuery,
RedisConfigurationSource.RedisExecutableConfigurationQuery> - 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<RedisConfigurationSource.RedisConfigurationQuery,
RedisConfigurationSource.RedisExecutableConfigurationQuery> - Returns:
- a stream of configuration query results
-