trait PullRequestService extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PullRequestService
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. 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
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def getPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Option[(Issue, PullRequest)]
  11. def getPullRequestByRequestCommit(userName: String, repositoryName: String, toBranch: String, fromBranch: String, commitId: String)(implicit s: (blockingApi)#Session): Option[(PullRequest, Issue)]
  12. def getPullRequestComments(userName: String, repositoryName: String, issueId: Int, commits: Seq[CommitInfo])(implicit s: (blockingApi)#Session): Seq[Comment]
  13. def getPullRequestCommitFromTo(originRepository: RepositoryInfo, forkedRepository: RepositoryInfo, originId: String, forkedId: String): (Option[ObjectId], Option[ObjectId])
  14. def getPullRequestCountGroupByUser(closed: Boolean, owner: Option[String], repository: Option[String])(implicit s: (blockingApi)#Session): List[PullRequestCount]
  15. 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

    1. return if exists pull request to defaultBranch 2. return if exists pull request to other branch 2. return None
  16. def getPullRequestsByBranch(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
  17. def getPullRequestsByRequest(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
  18. def getRequestCompareInfo(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestCommitId: String, settings: SystemSettings): (Seq[Seq[CommitInfo]], Seq[DiffInfo])
  19. def getSingleDiff(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestCommitId: String, path: String): Option[DiffInfo]
  20. def getSingleDiff(userName: String, repositoryName: String, commitId: String, path: String): Option[DiffInfo]
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def markMergeAndClosePullRequest(userName: String, owner: String, repository: String, pull: PullRequest)(implicit s: (blockingApi)#Session): Unit
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. 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")

  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def updateBaseBranch(owner: String, repository: String, issueId: Int, baseBranch: String, commitIdTo: String)(implicit s: (blockingApi)#Session): Unit
  31. def updateCommitId(owner: String, repository: String, issueId: Int, commitIdTo: String, commitIdFrom: String)(implicit s: (blockingApi)#Session): Unit
  32. def updateDraftToPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Unit
  33. def updatePullRequests(owner: String, repository: String, branch: String, pusherAccount: 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.

  34. 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
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped