public class GitLabRepositoryService extends AbstractRepositoryService implements RepositoryService
Repository service for gitlab. It uses the gitlabapi to communicate with the server.
baseUrl, config, REPOSITORY_TYPE| Constructor and Description |
|---|
GitLabRepositoryService()
Empty constructor.
|
checkHost, getBaseUrl, init, urlExistsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, init, urlExistspublic boolean init(RepositoryConfig config)
init in interface RepositoryServiceinit in class AbstractRepositoryServiceprotected org.apache.commons.logging.Log getLog()
getLog in class AbstractRepositoryServicepublic org.jboss.set.aphrodite.domain.Repository getRepository(URL url) throws NotFoundException
getRepository in interface RepositoryServiceNotFoundExceptionpublic org.jboss.set.aphrodite.domain.PullRequest getPullRequest(URL url) throws NotFoundException
getPullRequest in interface RepositoryServiceNotFoundExceptionpublic List<org.jboss.set.aphrodite.domain.PullRequest> getPullRequestsByState(org.jboss.set.aphrodite.domain.Repository repository, org.jboss.set.aphrodite.domain.PullRequestState state) throws NotFoundException
getPullRequestsByState in interface RepositoryServiceNotFoundException@Deprecated public List<org.jboss.set.aphrodite.domain.PullRequest> findPullRequestsRelatedTo(org.jboss.set.aphrodite.domain.PullRequest pullRequest)
findPullRequestsRelatedTo in interface RepositoryService@Deprecated public List<org.jboss.set.aphrodite.domain.PullRequest> getPullRequestsAssociatedWith(org.jboss.set.aphrodite.domain.Issue issue) throws NotFoundException
getPullRequestsAssociatedWith in interface RepositoryServiceNotFoundException@Deprecated public void addCommentToPullRequest(org.jboss.set.aphrodite.domain.PullRequest pullRequest, String comment) throws NotFoundException
addCommentToPullRequest in interface RepositoryServiceNotFoundExceptionpublic boolean hasModifiableLabels(org.jboss.set.aphrodite.domain.Repository repository) throws NotFoundException
hasModifiableLabels in interface RepositoryServiceNotFoundExceptionpublic List<org.jboss.set.aphrodite.domain.Label> getLabelsFromRepository(org.jboss.set.aphrodite.domain.Repository repository) throws NotFoundException
getLabelsFromRepository in interface RepositoryServiceNotFoundException@Deprecated public List<org.jboss.set.aphrodite.domain.Label> getLabelsFromPullRequest(org.jboss.set.aphrodite.domain.PullRequest pullRequest) throws NotFoundException
getLabelsFromPullRequest in interface RepositoryServiceNotFoundException@Deprecated public void setLabelsToPullRequest(org.jboss.set.aphrodite.domain.PullRequest pullRequest, List<org.jboss.set.aphrodite.domain.Label> labels) throws NotFoundException
setLabelsToPullRequest in interface RepositoryServiceNotFoundException@Deprecated public void addLabelToPullRequest(org.jboss.set.aphrodite.domain.PullRequest pullRequest, String labelName) throws NotFoundException
addLabelToPullRequest in interface RepositoryServiceNotFoundException@Deprecated public void removeLabelFromPullRequest(org.jboss.set.aphrodite.domain.PullRequest pullRequest, String labelName) throws NotFoundException
removeLabelFromPullRequest in interface RepositoryServiceNotFoundException@Deprecated public org.jboss.set.aphrodite.domain.CommitStatus getCommitStatusFromPullRequest(org.jboss.set.aphrodite.domain.PullRequest pullRequest) throws NotFoundException
getCommitStatusFromPullRequest in interface RepositoryServiceNotFoundExceptionpublic boolean repositoryAccessable(URL url)
repositoryAccessable in interface RepositoryServicepublic List<org.jboss.set.aphrodite.domain.Commit> getCommitsSince(URL url, String branch, long since)
getCommitsSince in interface RepositoryServicepublic org.jboss.set.aphrodite.domain.RateLimit getRateLimit() throws NotFoundException
getRateLimit in interface RepositoryServiceNotFoundExceptionpublic RepositoryType getRepositoryType()
getRepositoryType in interface RepositoryServicepublic org.jboss.set.aphrodite.domain.spi.PullRequestHome getPullRequestHome()
getPullRequestHome in interface RepositoryServiceCopyright © 2021 JBoss by Red Hat. All rights reserved.