org.octopusden.octopus.vcsfacade.service.VCSManager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vcs-facade Show documentation
Show all versions of vcs-facade Show documentation
Octopus module: vcs-facade
package org.octopusden.octopus.vcsfacade.service
import org.octopusden.octopus.vcsfacade.client.common.dto.Commit
import org.octopusden.octopus.vcsfacade.client.common.dto.PullRequestRequest
import org.octopusden.octopus.vcsfacade.client.common.dto.PullRequestResponse
import org.octopusden.octopus.vcsfacade.client.common.dto.Tag
import java.util.*
interface VCSManager {
fun getCommits(vcsPath: String, fromId: String?, fromDate: Date?, toId: String): List
fun getTagsForRepository(vcsPath: String): List
fun findCommits(issueKey: String): List
fun findCommit(vcsPath: String, commitId: String): Commit
fun createPullRequest(
vcsPath: String,
pullRequestRequest: PullRequestRequest
): PullRequestResponse
}