ai.digital.integration.server.common.domain.api.Container.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integration-server-gradle-plugin Show documentation
Show all versions of integration-server-gradle-plugin Show documentation
The easy way to get custom setup for Deploy up and running
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
}
}