jvmTest.utility.StartableComponent.kt Maven / Gradle / Ivy
package tests
import io.fluidsonic.raptor.*
class StartableComponent : RaptorComponent.Base(StartablePlugin) {
var delayInMilliseconds = 0L
override fun RaptorComponentConfigurationEndScope.onConfigurationEnded() {
propertyRegistry.register(Startable.propertyKey, Startable(delayInMilliseconds = delayInMilliseconds))
}
override fun toString() = "startable"
}