Package akka.cluster

Class JoinConfigCompatChecker$


  • public class JoinConfigCompatChecker$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static JoinConfigCompatChecker$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConfigValidation exists​(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck)
      Checks that all requiredKeys are available in toCheck Config.
      ConfigValidation fullMatch​(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig)
      Checks that all requiredKeys are available in toCheck Config and its values match exactly the values in currentConfig.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final JoinConfigCompatChecker$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • JoinConfigCompatChecker$

        public JoinConfigCompatChecker$()
    • Method Detail

      • exists

        public ConfigValidation exists​(scala.collection.immutable.Seq<java.lang.String> requiredKeys,
                                       com.typesafe.config.Config toCheck)
        Checks that all requiredKeys are available in toCheck Config.

        Parameters:
        requiredKeys - - a Seq of required keys
        toCheck - - the Config instance to be checked
      • fullMatch

        public ConfigValidation fullMatch​(scala.collection.immutable.Seq<java.lang.String> requiredKeys,
                                          com.typesafe.config.Config toCheck,
                                          com.typesafe.config.Config actualConfig)
        Checks that all requiredKeys are available in toCheck Config and its values match exactly the values in currentConfig.

        Parameters:
        requiredKeys - - a Seq of required keys
        toCheck - - the Config instance to be checked
        actualConfig - - the Config instance containing the expected values