JREInfoProvider
interface JREInfoProvider
Provides information about used Java runtime
Functions
Link copied to clipboard
abstract fun assertVersion(message: String = "JRE version requirements are not satisfied", condition: (Int) -> Boolean)
Does nothing if condition returns true for current JRE version, throws AssertionError otherwise
Link copied to clipboard
Does nothing if current JRE version is higher or equal than minVersion, throws AssertionError otherwise
Link copied to clipboard
Does nothing if current JRE version is between minVersion and maxVersion, throws AssertionError otherwise