Package akka.cluster
Class JoinConfigCompatChecker$
- java.lang.Object
-
- akka.cluster.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.
-
Constructor Summary
Constructors Constructor Description JoinConfigCompatChecker$()
-
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 allrequiredKeys
are available intoCheck
Config.ConfigValidation
fullMatch(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig)
Checks that allrequiredKeys
are available intoCheck
Config and its values match exactly the values incurrentConfig
.
-
-
-
Field Detail
-
MODULE$
public static final JoinConfigCompatChecker$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
exists
public ConfigValidation exists(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck)
Checks that allrequiredKeys
are available intoCheck
Config.- Parameters:
requiredKeys
- - a Seq of required keystoCheck
- - 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 allrequiredKeys
are available intoCheck
Config and its values match exactly the values incurrentConfig
.- Parameters:
requiredKeys
- - a Seq of required keystoCheck
- - the Config instance to be checkedactualConfig
- - the Config instance containing the expected values
-
-