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 Details

    • getParameters

      public List<ConfigurationKey.Parameter> getParameters()

      Returns the parameters representing a configuration branch.

      Returns:
      a list of parameters
    • getWorkingRevision

      public Optional<Integer> 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

      public Optional<Integer> 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