Module io.inverno.mod.configuration
Class VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery
java.lang.Object
io.inverno.mod.configuration.source.VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery
- All Implemented Interfaces:
ListConfigurationQuery<VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery>
- Enclosing class:
VersionedRedisConfigurationSource
public static class VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery
extends Object
implements ListConfigurationQuery<VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery>
The list configuration query used by the Redis configuration source.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
Lists all properties with the specified property name and whose parameters exactly match the query.Lists all properties with the specified property name and whose parameters match the query.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.ListConfigurationQuery
withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters
-
Method Details
-
withParameters
public VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery withParameters(List<ConfigurationKey.Parameter> parameters) throws IllegalArgumentException Description copied from interface:ListConfigurationQuery
Defines parameters that specify the context in which configuration properties are to be retrieved.
- Specified by:
withParameters
in interfaceListConfigurationQuery<VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery>
- Parameters:
parameters
- a list of parameters- Returns:
- the configuration query
- Throws:
IllegalArgumentException
- if parameters were specified more than once
-
execute
Description copied from interface:ListConfigurationQuery
Lists all properties with the specified property name and whose parameters exactly match the query.
This method returns properties whose parameters exactly match the parameters specified in the query and exclude those defined with extra parameters.
- Specified by:
execute
in interfaceListConfigurationQuery<VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery>
- Returns:
- a stream of configuration properties
-
executeAll
Description copied from interface:ListConfigurationQuery
Lists all properties with the specified property name and whose parameters match the query.
This method returns all properties whose parameters match the parameters specified in the query without excluding those defined with extra parameters.
- Specified by:
executeAll
in interfaceListConfigurationQuery<VersionedRedisConfigurationSource.VersionedRedisListConfigurationQuery>
- Returns:
- a stream of configuration properties
-