Class ScalaCompatMap<SV extends IScalaVersion>
java.lang.Object
xyz.janboerman.scalaloader.plugin.ScalaCompatMap<SV>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters a Scala version configuration to this ScalaCompatMap.getLatestVersion(String scalaVersion) Looks up the latest version of Scala that is binary compatible withscalaVersion.getLatestVersion(PluginScalaVersion scalaVersion) Looks up the latest version of Scala that is binary compatible withscalaVersion.toString()
-
Constructor Details
-
ScalaCompatMap
public ScalaCompatMap()
-
-
Method Details
-
add
Registers a Scala version configuration to this ScalaCompatMap.- Parameters:
scalaVersion- the scala configuration
-
getLatestVersion
Looks up the latest version of Scala that is binary compatible withscalaVersion.- Parameters:
scalaVersion- the version of Scala- Returns:
- the latest compatible version of Scala
-
getLatestVersion
Looks up the latest version of Scala that is binary compatible withscalaVersion.- Parameters:
scalaVersion- the version of Scala- Returns:
- the latest compatible version of Scala
-
toString
-