Module io.inverno.mod.configuration
Class VersionedRedisConfigurationSource.VersionedRedisConfigurationKey
java.lang.Object
io.inverno.mod.configuration.internal.GenericConfigurationKey
io.inverno.mod.configuration.source.VersionedRedisConfigurationSource.VersionedRedisConfigurationKey
- All Implemented Interfaces:
ConfigurationKey
- Enclosing class:
VersionedRedisConfigurationSource
public static class VersionedRedisConfigurationSource.VersionedRedisConfigurationKey
extends io.inverno.mod.configuration.internal.GenericConfigurationKey
The configuration key used by the Redis configuration source.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.inverno.mod.configuration.ConfigurationKey
ConfigurationKey.Parameter, ConfigurationKey.UndefinedParameter, ConfigurationKey.WildcardParameter
-
Field Summary
Fields inherited from class io.inverno.mod.configuration.internal.GenericConfigurationKey
name, parameters, parametersByKey
-
Method Summary
Modifier and TypeMethodDescriptionReturns the meta data associated with the key.Returns revision of the property identified by the key.Methods inherited from class io.inverno.mod.configuration.internal.GenericConfigurationKey
equals, getName, getParameter, getParameters, hashCode, matches, toString
-
Method Details
-
getMetaData
public Optional<VersionedRedisConfigurationSource.VersionedRedisConfigurationMetaData> getMetaData()Returns the meta data associated with the key.
- Returns:
- the meta data
-
getRevision
Returns revision of the property identified by the key.
- Returns:
- an optional returning the revision or an empty optional if there's no revision
-