Package akka
Class AkkaVersion$
- java.lang.Object
-
- akka.AkkaVersion$
-
public class AkkaVersion$ extends java.lang.Object
Check that the version of Akka is a specific patch version or higher and throw anUnsupportedAkkaVersion
exception if the version requirement is not fulfilled.For example:
require("my-library", "2.5.4")
would fail if used with Akka 2.4.19 and 2.5.3, but succeed with 2.5.4 and 2.6.1param: libraryName The name of the library or component requiring the Akka version, used in the error message. param: requiredVersion Minimal version that this library works with
-
-
Field Summary
Fields Modifier and Type Field Description static AkkaVersion$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description AkkaVersion$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
require(java.lang.String libraryName, java.lang.String requiredVersion)
void
require(java.lang.String libraryName, java.lang.String requiredVersion, java.lang.String currentVersion)
Internal API:
-
-
-
Field Detail
-
MODULE$
public static final AkkaVersion$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
require
public void require(java.lang.String libraryName, java.lang.String requiredVersion)
-
require
public void require(java.lang.String libraryName, java.lang.String requiredVersion, java.lang.String currentVersion)
Internal API:- Parameters:
libraryName
- (undocumented)requiredVersion
- (undocumented)currentVersion
- (undocumented)
-
-