trait MergeService extends AnyRef
- Self Type
- MergeService with AccountService with ActivityService with IssuesService with RepositoryService with PullRequestService with WebHookPullRequestService with WebHookService
- Alphabetic
- By Inheritance
- MergeService
- AnyRef
- Any
- Hide All
- Show All
- 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 checkConflict(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestBranch: String): Option[String]
Checks whether conflict will be caused in merging.
Checks whether conflict will be caused in merging. Returns
Some(errorMessage)
if conflict will be caused. - def checkConflict(userName: String, repositoryName: String, branch: String, issueId: Int): Option[String]
Checks whether conflict will be caused in merging within pull request.
Checks whether conflict will be caused in merging within pull request. Returns true if conflict will be caused.
- def checkConflictCache(userName: String, repositoryName: String, branch: String, issueId: Int): Option[Option[String]]
Checks whether conflict will be caused in merging within pull request.
Checks whether conflict will be caused in merging within pull request. only cache check. Returns Some(true) if conflict will be caused. Returns None if cache has not created yet.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fetchAsPullRequest(userName: String, repositoryName: String, requestUserName: String, requestRepositoryName: String, requestBranch: String, issueId: Int): Unit
fetch remote branch to my repository refs/pull/{issueId}/head
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getReceiveHooks(): Seq[ReceiveHook]
- Attributes
- protected
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergePullRequest(repository: RepositoryInfo, issueId: Int, loginAccount: Account, message: String, strategy: String, isDraft: Boolean, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context, context: Context): Either[String, ObjectId]
- def mergeWithMergeCommit(git: Git, repository: RepositoryInfo, branch: String, issueId: Int, message: String, loginAccount: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): ObjectId
merge the pull request with a merge commit
- def mergeWithRebase(git: Git, repository: RepositoryInfo, branch: String, issueId: Int, commits: Seq[RevCommit], loginAccount: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): ObjectId
rebase to the head of the pull request branch
- def mergeWithSquash(git: Git, repository: RepositoryInfo, branch: String, issueId: Int, message: String, loginAccount: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): ObjectId
squash commits in the pull request and append it
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def pullRemote(localRepository: RepositoryInfo, localBranch: String, remoteRepository: RepositoryInfo, remoteBranch: String, loginAccount: Account, message: String, pullRequest: Option[PullRequest], settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): Option[ObjectId]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryMergeRemote(localUserName: String, localRepositoryName: String, localBranch: String, remoteUserName: String, remoteRepositoryName: String, remoteBranch: String): Either[String, (ObjectId, ObjectId, ObjectId)]
Checks whether conflict will be caused in merging.
Checks whether conflict will be caused in merging. Returns true if conflict will be caused.
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)