Module io.inverno.mod.configuration
Class VersionedRedisConfigurationSource.VersionedRedisConfigurationMetaData
java.lang.Object
io.inverno.mod.configuration.source.VersionedRedisConfigurationSource.VersionedRedisConfigurationMetaData
- Enclosing class:
VersionedRedisConfigurationSource
public static class VersionedRedisConfigurationSource.VersionedRedisConfigurationMetaData
extends Object
Provides information about a particular configuration branch.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the active revision of the configuration branch.Returns the parameters representing a configuration branch.Returns the working revision of the configuration branch.
-
Method Details
-
getParameters
Returns the parameters representing a configuration branch.
- Returns:
- a list of parameters
-
getWorkingRevision
Returns the working revision of the configuration branch.
- Returns:
- an optional returning the working revision, or an empty optional if no working revision has been defined
-
getActiveRevision
Returns the active revision of the configuration branch.
- Returns:
- an optional returning the active revision, or an empty optional if no revision has been activated so far
-