net.nemerosa.ontrack.model.structure.PromotionRunCheckService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
package net.nemerosa.ontrack.model.structure
import net.nemerosa.ontrack.model.exceptions.InputException
/**
* This service is called to check if a promotion run can actually be created or not.
*/
interface PromotionRunCheckService {
/**
* Checks if the given [promotionRun] can be created or not. Throws an [InputException] if the
* promotion run cannot be created.
*/
@Throws(InputException::class)
fun checkPromotionRunCreation(promotionRun: PromotionRun)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy