trait PullRequestService extends AnyRef
- Self Type
- PullRequestService with IssuesService with CommitsService with WebHookService with WebHookPullRequestService with RepositoryService with MergeService with ActivityService
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PullRequestService
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createPullRequest(originRepository: RepositoryInfo, issueId: Int, originBranch: String, requestUserName: String, requestRepositoryName: String, requestBranch: String, commitIdFrom: String, commitIdTo: String, isDraft: Boolean, loginAccount: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, context: Context): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Option[(Issue, PullRequest)]
- def getPullRequestByRequestCommit(userName: String, repositoryName: String, toBranch: String, fromBranch: String, commitId: String)(implicit s: (blockingApi)#Session): Option[(PullRequest, Issue)]
- def getPullRequestComments(userName: String, repositoryName: String, issueId: Int, commits: Seq[CommitInfo])(implicit s: (blockingApi)#Session): Seq[Comment]
- def getPullRequestCommitFromTo(originRepository: RepositoryInfo, forkedRepository: RepositoryInfo, originId: String, forkedId: String): (Option[ObjectId], Option[ObjectId])
- def getPullRequestCountGroupByUser(closed: Boolean, owner: Option[String], repository: Option[String])(implicit s: (blockingApi)#Session): List[PullRequestCount]
- def getPullRequestFromBranch(userName: String, repositoryName: String, branch: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Option[(PullRequest, Issue)]
for repository viewer.
for repository viewer. 1. find pull request from
branch
to other branch on same repository- return if exists pull request to
defaultBranch
2. return if exists pull request to other branch 2. return None
- return if exists pull request to
- def getPullRequestsByBranch(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
- def getPullRequestsByRequest(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
- def getRequestCompareInfo(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestCommitId: String): (Seq[Seq[CommitInfo]], Seq[DiffInfo])
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def markMergeAndClosePullRequest(userName: String, owner: String, repository: String, pull: PullRequest)(implicit s: (blockingApi)#Session): Unit
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseCompareIdentifier(value: String, defaultOwner: String): (String, String)
Parses branch identifier and extracts owner and branch name as tuple.
Parses branch identifier and extracts owner and branch name as tuple.
- "owner:branch" to ("owner", "branch") - "branch" to ("defaultOwner", "branch")
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateBaseBranch(owner: String, repository: String, issueId: Int, baseBranch: String, commitIdTo: String)(implicit s: (blockingApi)#Session): Unit
- def updateCommitId(owner: String, repository: String, issueId: Int, commitIdTo: String, commitIdFrom: String)(implicit s: (blockingApi)#Session): Unit
- def updateDraftToPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Unit
- def updatePullRequests(owner: String, repository: String, branch: String, loginAccount: Account, action: String, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): Unit
Fetch pull request contents into refs/pull/${issueId}/head and update pull request table.
- def updatePullRequestsByApi(repository: RepositoryInfo, issueId: Int, loginAccount: Account, settings: SystemSettings, title: Option[String], body: Option[String], state: Option[String], base: Option[String])(implicit s: (blockingApi)#Session, c: Context): Unit
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()