All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.digital.integration.server.common.domain.api.Container.kt Maven / Gradle / Ivy

There is a newer version: 23.3.0-1025.941
Show newest version
package ai.digital.integration.server.common.domain.api

open class Container(val name: String) {
    var debugPort: Int? = null
    var debugSuspend: Boolean = false
    var jvmArgs: Array = arrayOf("-Xmx1024m", "-Duser.timezone=UTC")
    var logLevels: MutableMap = mutableMapOf()
    var overlays: MutableMap> = mutableMapOf()
    var runtimeDirectory: String? = null
    var version: String? = null
    var stdoutFileName: String? = null

    fun numericVersion(): Double {
        version?.let { it ->
            return it.split(".").take(2).joinToString(".").toDouble()
        }
        return Double.MAX_VALUE
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy