org.octopusden.octopus.dms.service.ReleaseManagementService.kt Maven / Gradle / Ivy
package org.octopusden.octopus.dms.service
import org.octopusden.octopus.dms.client.common.dto.ArtifactType
import org.octopusden.octopus.dms.client.common.dto.BuildDTO
import org.octopusden.octopus.dms.client.common.dto.BuildStatus
import org.octopusden.octopus.dms.dto.ComponentBuild
interface ReleaseManagementService {
fun componentExists(component: String): Boolean
fun getComponentBuilds(
component: String,
buildStatuses: Array,
versions: Set
): List
fun getComponentBuild(component: String, version: String, type: ArtifactType? = null): BuildDTO
fun getComponentBuild(component: String, version: String): ComponentBuild
}