com.github.lemfi.kest.rabbitmq.builder.RabbitMQQueueDeletionExecutionBuilder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of step-rabbitmq Show documentation
Show all versions of step-rabbitmq Show documentation
Backends testing with Kotlin
@file:Suppress("FunctionName", "unused")
package com.github.lemfi.kest.rabbitmq.builder
import com.github.lemfi.kest.core.builder.ExecutionBuilder
import com.github.lemfi.kest.core.model.Execution
import com.github.lemfi.kest.rabbitmq.executor.RabbitMQQueueDeletionExecution
import com.github.lemfi.kest.rabbitmq.model.rabbitMQProperty
class RabbitMQQueueDeletionExecutionBuilder : ExecutionBuilder {
lateinit var queue: String
@Suppress("MemberVisibilityCanBePrivate")
var connection = rabbitMQProperty { connection }
@Suppress("MemberVisibilityCanBePrivate")
var vhost = rabbitMQProperty { vhost }
override fun toExecution(): Execution {
return RabbitMQQueueDeletionExecution(
queue, connection, vhost,
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy