c

gitbucket.core.servlet

CommitLogHook

class CommitLogHook extends PostReceiveHook with PreReceiveHook with RepositoryService with AccountService with IssuesService with ActivityService with MergeService with PullRequestService with WebHookService with LabelsService with PrioritiesService with MilestonesService with WebHookPullRequestService with WebHookPullRequestReviewCommentService with CommitsService with SystemSettingsService with RequestCache

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommitLogHook
  2. RequestCache
  3. SystemSettingsService
  4. CommitsService
  5. WebHookPullRequestReviewCommentService
  6. WebHookPullRequestService
  7. MilestonesService
  8. PrioritiesService
  9. LabelsService
  10. WebHookService
  11. PullRequestService
  12. MergeService
  13. ActivityService
  14. IssuesService
  15. AccountService
  16. RepositoryService
  17. PreReceiveHook
  18. PostReceiveHook
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CommitLogHook(owner: String, repository: String, pusher: String, baseUrl: String, sshUrl: Option[String])

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. def addAccountPreference(userName: String, highlighterTheme: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  5. def addAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  6. def addCollaborator(userName: String, repositoryName: String, collaboratorName: String, role: String)(implicit s: (blockingApi)#Session): Unit

    Add collaborator (user or group) to the repository.

    Add collaborator (user or group) to the repository.

    Definition Classes
    RepositoryService
  7. def addOrUpdateAccountPreference(userName: String, highlighterTheme: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  8. def addWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  11. def baseUrl(implicit request: HttpServletRequest): String
    Definition Classes
    SystemSettingsService
  12. def callIssuesWebHook(action: String, repository: RepositoryInfo, issue: Issue, sender: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, context: Context): Unit
    Definition Classes
    WebHookPullRequestService
  13. def callPullRequestReviewCommentWebHook(action: String, comment: CommitComment, repository: RepositoryInfo, issue: Issue, pullRequest: PullRequest, sender: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): Unit
  14. def callPullRequestWebHook(action: String, repository: RepositoryInfo, issueId: Int, sender: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): Unit
    Definition Classes
    WebHookPullRequestService
  15. def callPullRequestWebHookByRequestBranch(action: String, requestRepository: RepositoryInfo, requestBranch: String, sender: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): Unit
    Definition Classes
    WebHookPullRequestService
  16. def callWebHook(event: Event, webHooks: List[WebHook], payload: WebHookPayload, settings: SystemSettings)(implicit c: Context): List[(WebHook, String, Future[HttpRequest], Future[HttpResponse])]
    Definition Classes
    WebHookService
  17. def callWebHookOf(owner: String, repository: String, event: Event, settings: SystemSettings)(makePayload: => Option[WebHookPayload])(implicit s: (blockingApi)#Session, c: Context): Unit
    Definition Classes
    WebHookService
  18. def changeIssueToPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  19. 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.

    Definition Classes
    MergeService
  20. 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.

    Definition Classes
    MergeService
  21. 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.

    Definition Classes
    MergeService
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  23. def closeIssuesFromMessage(message: String, userName: String, owner: String, repository: String)(implicit s: (blockingApi)#Session): Seq[Int]
    Definition Classes
    IssuesService
  24. def closeMilestone(milestone: Milestone)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    MilestonesService
  25. def countIssue(condition: IssueSearchCondition, searchOption: IssueSearchOption, repos: (String, String)*)(implicit s: (blockingApi)#Session): Int

    Returns the count of the search result against issues.

    Returns the count of the search result against issues.

    condition

    the search condition

    searchOption

    if true then counts only pull request, false then counts both of issue and pull request.

    repos

    Tuple of the repository owner and the repository name

    returns

    the count of the search result

    Definition Classes
    IssuesService
  26. def countIssueGroupByLabels(owner: String, repository: String, condition: IssueSearchCondition, filterUser: Map[String, String])(implicit s: (blockingApi)#Session): Map[String, Int]

    Returns the Map which contains issue count for each labels.

    Returns the Map which contains issue count for each labels.

    owner

    the repository owner

    repository

    the repository name

    condition

    the search condition

    returns

    the Map which contains issue count for each labels (key is label name, value is issue count)

    Definition Classes
    IssuesService
  27. def countIssueGroupByPriorities(owner: String, repository: String, condition: IssueSearchCondition, filterUser: Map[String, String])(implicit s: (blockingApi)#Session): Map[String, Int]

    Returns the Map which contains issue count for each priority.

    Returns the Map which contains issue count for each priority.

    owner

    the repository owner

    repository

    the repository name

    condition

    the search condition

    returns

    the Map which contains issue count for each priority (key is priority name, value is issue count)

    Definition Classes
    IssuesService
  28. def createAccount(userName: String, password: String, fullName: String, mailAddress: String, isAdmin: Boolean, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
    Definition Classes
    AccountService
  29. def createComment(owner: String, repository: String, loginUser: String, issueId: Int, content: String, action: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  30. def createCommitComment(repository: RepositoryInfo, commitId: String, loginAccount: Account, content: String, fileName: Option[String], oldLine: Option[Int], newLine: Option[Int], diff: Option[String], issueId: Option[Int])(implicit s: (blockingApi)#Session, c: Context, context: Context): Int
    Definition Classes
    CommitsService
  31. def createGroup(groupName: String, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
    Definition Classes
    AccountService
  32. def createIssueComment(owner: String, repository: String, commit: CommitInfo)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    IssuesService
  33. def createLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    LabelsService
  34. def createLabel(owner: String, repository: String, labelName: String, color: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    LabelsService
  35. def createMilestone(owner: String, repository: String, title: String, description: Option[String], dueDate: Option[Date])(implicit s: (blockingApi)#Session): Int
    Definition Classes
    MilestonesService
  36. def createPriority(owner: String, repository: String, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    PrioritiesService
  37. 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
    Definition Classes
    PullRequestService
  38. def createReferComment(owner: String, repository: String, fromIssue: Issue, message: String, loginAccount: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    IssuesService
  39. def deleteAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  40. def deleteAllIssueLabels(owner: String, repository: String, issueId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  41. def deleteComment(owner: String, repository: String, issueId: Int, commentId: Int)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  42. def deleteCommitComment(commentId: Int)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    CommitsService
  43. def deleteIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  44. def deleteLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    LabelsService
  45. def deleteMilestone(owner: String, repository: String, milestoneId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    MilestonesService
  46. def deletePriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  47. def deleteRepository(repository: Repository)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  48. def deleteWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  49. def deleteWebHookById(id: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  50. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  52. 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

    fetch remote branch to my repository refs/pull/{issueId}/head

    Definition Classes
    MergeService
  53. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  54. def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  55. def getAccountByMailAddressFromCache(mailAddress: String)(implicit context: Context): Option[Account]
    Definition Classes
    RequestCache
  56. def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  57. def getAccountByUserNameFromCache(userName: String)(implicit context: Context): Option[Account]
    Definition Classes
    RequestCache
  58. def getAccountByUserNameIgnoreCase(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  59. def getAccountExtraMailAddresses(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  60. def getAccountPreference(userName: String)(implicit s: (blockingApi)#Session): Option[AccountPreference]
    Definition Classes
    AccountService
  61. def getAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Option[(AccountWebHook, Set[Event])]

    get All AccountWebHook information from repository to url

    get All AccountWebHook information from repository to url

    Definition Classes
    WebHookService
  62. def getAccountWebHooks(owner: String)(implicit s: (blockingApi)#Session): List[(AccountWebHook, Set[Event])]

    get All AccountWebHook informations of user

    get All AccountWebHook informations of user

    Definition Classes
    WebHookService
  63. def getAccountWebHooksByEvent(owner: String, event: Event)(implicit s: (blockingApi)#Session): List[AccountWebHook]

    get All AccountWebHook informations of repository event

    get All AccountWebHook informations of repository event

    Definition Classes
    WebHookService
  64. def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
    Definition Classes
    AccountService
  65. def getActivitiesByUser(activityUserName: String, isPublic: Boolean)(implicit context: Context): List[Activity]
    Definition Classes
    ActivityService
  66. def getAllRepositories(userName: String)(implicit s: (blockingApi)#Session): List[(String, String)]

    Returns the repositories except private repository that user does not have access right.

    Returns the repositories except private repository that user does not have access right. Include public repository, private own repository and private but collaborator repository.

    userName

    the user name of collaborator

    returns

    the repository information list

    Definition Classes
    RepositoryService
  67. def getAllUsers(includeRemoved: Boolean = true, includeGroups: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
    Definition Classes
    AccountService
  68. def getAssignableUserNames(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    IssuesService
  69. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  70. def getCollaboratorUserNames(userName: String, repositoryName: String, filter: Seq[Role] = Nil)(implicit s: (blockingApi)#Session): List[String]

    Returns the list of all collaborator name and permission which is sorted with ascending order.

    Returns the list of all collaborator name and permission which is sorted with ascending order. If a group is added as a collaborator, this method returns users who are belong to that group.

    Definition Classes
    RepositoryService
  71. def getCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[(Collaborator, Boolean)]

    Returns the list of collaborators name (user name or group name) which is sorted with ascending order.

    Returns the list of collaborators name (user name or group name) which is sorted with ascending order.

    Definition Classes
    RepositoryService
  72. def getComment(owner: String, repository: String, commentId: String)(implicit s: (blockingApi)#Session): Option[IssueComment]
    Definition Classes
    IssuesService
  73. def getCommentForApi(owner: String, repository: String, commentId: Int)(implicit s: (blockingApi)#Session): Option[(IssueComment, Account, Issue)]
    Definition Classes
    IssuesService
  74. def getComments(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[model.IssueCommentComponent.IssueComments.TableElementType]
    Definition Classes
    IssuesService
  75. def getCommentsForApi(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[(IssueComment, Account, Issue)]

    returns

    IssueComment and commentedUser and Issue

    Definition Classes
    IssuesService
  76. def getCommitComment(owner: String, repository: String, commentId: String)(implicit s: (blockingApi)#Session): Option[model.CommitCommentComponent.CommitComments.TableElementType]
    Definition Classes
    CommitsService
  77. def getCommitComments(owner: String, repository: String, commitId: String, includePullRequest: Boolean)(implicit s: (blockingApi)#Session): List[model.CommitCommentComponent.CommitComments.TableElementType]
    Definition Classes
    CommitsService
  78. def getContentTemplate(repository: RepositoryInfo, fileBaseName: String)(implicit s: (blockingApi)#Session): String

    Returns content of template set per repository.

    Returns content of template set per repository.

    repository

    the repository information

    fileBaseName

    the file basename without extension of template

    returns

    The content of template if the repository has it, otherwise empty string.

    Definition Classes
    RepositoryService
  79. def getDefaultPriority(owner: String, repository: String)(implicit s: (blockingApi)#Session): Option[Priority]
    Definition Classes
    PrioritiesService
  80. def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[Repository]
    Definition Classes
    RepositoryService
  81. def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
    Definition Classes
    AccountService
  82. def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  83. def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  84. def getIssue(owner: String, repository: String, issueId: String)(implicit s: (blockingApi)#Session): Option[model.IssueComponent.Issues.TableElementType]
    Definition Classes
    IssuesService
  85. def getIssueFromCache(userName: String, repositoryName: String, issueId: String)(implicit context: Context): Option[Issue]
    Definition Classes
    RequestCache
  86. def getIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int)(implicit s: (blockingApi)#Session): Option[IssueLabel]
    Definition Classes
    IssuesService
  87. def getIssueLabels(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[Label]
    Definition Classes
    IssuesService
  88. def getLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Option[Label]
    Definition Classes
    LabelsService
  89. def getLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Option[Label]
    Definition Classes
    LabelsService
  90. def getLabels(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Label]
    Definition Classes
    LabelsService
  91. def getMergedComment(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Option[(IssueComment, Account)]
    Definition Classes
    IssuesService
  92. def getMilestone(owner: String, repository: String, milestoneId: Int)(implicit s: (blockingApi)#Session): Option[Milestone]
    Definition Classes
    MilestonesService
  93. def getMilestones(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Milestone]
    Definition Classes
    MilestonesService
  94. def getMilestonesWithIssueCount(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[(Milestone, Int, Int)]
    Definition Classes
    MilestonesService
  95. def getOpenIssues(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Issue]
    Definition Classes
    IssuesService
  96. def getPriorities(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Priority]
    Definition Classes
    PrioritiesService
  97. def getPriority(owner: String, repository: String, priorityName: String)(implicit s: (blockingApi)#Session): Option[Priority]
    Definition Classes
    PrioritiesService
  98. def getPriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Option[Priority]
    Definition Classes
    PrioritiesService
  99. def getPublicRepositories(withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]

    Returns the all public repositories.

    Returns the all public repositories.

    returns

    the repository information list

    Definition Classes
    RepositoryService
  100. def getPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Option[(Issue, PullRequest)]
    Definition Classes
    PullRequestService
  101. def getPullRequestByRequestCommit(userName: String, repositoryName: String, toBranch: String, fromBranch: String, commitId: String)(implicit s: (blockingApi)#Session): Option[(PullRequest, Issue)]
    Definition Classes
    PullRequestService
  102. def getPullRequestComments(userName: String, repositoryName: String, issueId: Int, commits: Seq[CommitInfo])(implicit s: (blockingApi)#Session): Seq[Comment]
    Definition Classes
    PullRequestService
  103. def getPullRequestCommitFromTo(originRepository: RepositoryInfo, forkedRepository: RepositoryInfo, originId: String, forkedId: String): (Option[ObjectId], Option[ObjectId])
    Definition Classes
    PullRequestService
  104. def getPullRequestCountGroupByUser(closed: Boolean, owner: Option[String], repository: Option[String])(implicit s: (blockingApi)#Session): List[PullRequestCount]
    Definition Classes
    PullRequestService
  105. 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
    Definition Classes
    PullRequestService
  106. def getPullRequestsByBranch(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
    Definition Classes
    PullRequestService
  107. def getPullRequestsByRequest(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
    Definition Classes
    PullRequestService
  108. def getPullRequestsByRequestForWebhook(userName: String, repositoryName: String, branch: String)(implicit s: (blockingApi)#Session): Map[(Issue, Account, PullRequest, Account, Account), List[RepositoryWebHook]]

    returns

    Map[(issue, issueUser, pullRequest, baseOwner, headOwner), webHooks]

    Definition Classes
    WebHookPullRequestService
  109. def getReceiveHooks(): Seq[ReceiveHook]
    Attributes
    protected
    Definition Classes
    MergeService
  110. def getRecentActivitiesByOwners(owners: Set[String])(implicit context: Context): List[Activity]
    Definition Classes
    ActivityService
  111. def getRecentPublicActivities()(implicit context: Context): List[Activity]
    Definition Classes
    ActivityService
  112. def getRepository(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Option[RepositoryInfo]

    Returns the specified repository information.

    Returns the specified repository information.

    userName

    the user name of the repository owner

    repositoryName

    the repository name

    returns

    the repository information

    Definition Classes
    RepositoryService
  113. def getRepositoryInfoFromCache(userName: String, repositoryName: String)(implicit context: Context): Option[Repository]
    Definition Classes
    RequestCache
  114. def getRepositoryNamesOfUser(userName: String)(implicit s: (blockingApi)#Session): List[String]

    Returns the repository names of the specified user.

    Returns the repository names of the specified user.

    userName

    the user name of repository owner

    returns

    the list of repository names

    Definition Classes
    RepositoryService
  115. def getRequestCompareInfo(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestCommitId: String): (Seq[Seq[CommitInfo]], Seq[DiffInfo])
    Definition Classes
    PullRequestService
  116. def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]

    Returns the list of repositories which are owned by the specified user.

    Returns the list of repositories which are owned by the specified user. This list includes group repositories if the specified user is a member of the group.

    Definition Classes
    RepositoryService
  117. def getVisibleRepositories(loginAccount: Option[Account], repositoryUserName: Option[String], withoutPhysicalInfo: Boolean, limit: Boolean)(implicit s: (blockingApi)#Session): List[RepositoryInfo]

    Returns the list of visible repositories for the specified user.

    Returns the list of visible repositories for the specified user. If repositoryUserName is given then filters results by repository owner.

    loginAccount

    the logged in account

    repositoryUserName

    the repository owner (if None then returns all repositories which are visible for logged in user)

    withoutPhysicalInfo

    if true then the result does not include physical repository information such as commit count, branches and tags

    limit

    if true then result will include only repositories owned by the login account. otherwise, result will be all visible repositories.

    returns

    the repository information which is sorted in descending order of lastActivityDate.

    Definition Classes
    RepositoryService
  118. def getVisibleRepositories(loginAccount: Option[Account], repositoryUserName: Option[String] = None, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]

    Returns the list of visible repositories for the specified user.

    Returns the list of visible repositories for the specified user. If repositoryUserName is given then filters results by repository owner. This function is for plugin compatibility.

    loginAccount

    the logged in account

    repositoryUserName

    the repository owner (if None then returns all repositories which are visible for logged in user)

    withoutPhysicalInfo

    if true then the result does not include physical repository information such as commit count, branches and tags

    returns

    the repository information which is sorted in descending order of lastActivityDate.

    Definition Classes
    RepositoryService
  119. def getWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Option[(RepositoryWebHook, Set[Event])]

    get All WebHook information from repository to url

    get All WebHook information from repository to url

    Definition Classes
    WebHookService
  120. def getWebHookById(id: Int)(implicit s: (blockingApi)#Session): Option[(RepositoryWebHook, Set[Event])]

    get All WebHook informations of repository

    get All WebHook informations of repository

    Definition Classes
    WebHookService
  121. def getWebHooks(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[(RepositoryWebHook, Set[Event])]

    get All WebHook informations of repository

    get All WebHook informations of repository

    Definition Classes
    WebHookService
  122. def getWebHooksByEvent(owner: String, repository: String, event: Event)(implicit s: (blockingApi)#Session): List[RepositoryWebHook]

    get All WebHook informations of repository event

    get All WebHook informations of repository event

    Definition Classes
    WebHookService
  123. def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  124. def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  125. def hasOwnerRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  126. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  127. def insertIssue(owner: String, repository: String, loginUser: String, title: String, content: Option[String], assignedUserName: Option[String], milestoneId: Option[Int], priorityId: Option[Int], isPullRequest: Boolean = false)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  128. def insertRepository(repositoryName: String, userName: String, description: Option[String], isPrivate: Boolean, defaultBranch: String = "master", originRepositoryName: Option[String] = None, originUserName: Option[String] = None, parentRepositoryName: Option[String] = None, parentUserName: Option[String] = None)(implicit s: (blockingApi)#Session): Unit

    Creates a new repository.

    Creates a new repository.

    repositoryName

    the repository name

    userName

    the user name of the repository owner

    description

    the repository description

    isPrivate

    the repository type (private is true, otherwise false)

    originRepositoryName

    specify for the forked repository. (default is None)

    originUserName

    specify for the forked repository. (default is None)

    Definition Classes
    RepositoryService
  129. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  130. def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    AccountService
  131. def isReadable(repository: Repository, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  132. def loadCommitCommentDiff(owner: String, repository: String, commitId: String, fileName: String, oldLine: Option[Int], newLine: Option[Int]): Option[String]
    Definition Classes
    CommitsService
  133. def loadSystemSettings(): SystemSettings
    Definition Classes
    SystemSettingsService
  134. def markMergeAndClosePullRequest(userName: String, owner: String, repository: String, pull: PullRequest)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  135. 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]
    Definition Classes
    MergeService
  136. 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

    merge the pull request with a merge commit

    Definition Classes
    MergeService
  137. 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

    rebase to the head of the pull request branch

    Definition Classes
    MergeService
  138. 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

    squash commits in the pull request and append it

    Definition Classes
    MergeService
  139. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  140. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  141. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  142. def onPostReceive(receivePack: ReceivePack, commands: Collection[ReceiveCommand]): Unit
    Definition Classes
    CommitLogHook → PostReceiveHook
  143. def onPreReceive(receivePack: ReceivePack, commands: Collection[ReceiveCommand]): Unit
    Definition Classes
    CommitLogHook → PreReceiveHook
  144. def openMilestone(milestone: Milestone)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    MilestonesService
  145. 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")

    Definition Classes
    PullRequestService
  146. 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]
    Definition Classes
    MergeService
  147. def recordActivity[T <: AnyRef { def toActivity: gitbucket.core.model.Activity }](info: T): Unit
    Definition Classes
    ActivityService
  148. def registerIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  149. def removeCollaborator(userName: String, repositoryName: String, collaboratorName: String)(implicit s: (blockingApi)#Session): Unit

    Remove specified collaborator from the repository.

    Remove specified collaborator from the repository.

    Definition Classes
    RepositoryService
  150. def removeCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit

    Remove all collaborators from the repository.

    Remove all collaborators from the repository.

    Definition Classes
    RepositoryService
  151. def removeUser(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  152. def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  153. def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  154. def reorderPriorities(owner: String, repository: String, order: Map[Int, Int])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  155. def saveCommitCommentDiff(owner: String, repository: String, commitId: String, fileName: String, oldLine: Option[Int], newLine: Option[Int], diffJson: String): Unit
    Definition Classes
    CommitsService
  156. def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  157. def saveRepositoryOptions(userName: String, repositoryName: String, description: Option[String], isPrivate: Boolean, issuesOption: String, externalIssuesUrl: Option[String], wikiOption: String, externalWikiUrl: Option[String], allowFork: Boolean, mergeOptions: Seq[String], defaultMergeOption: String, safeMode: Boolean)(implicit s: (blockingApi)#Session): Unit

    Save repository options.

    Save repository options.

    Definition Classes
    RepositoryService
  158. def saveSystemSettings(settings: SystemSettings): Unit
    Definition Classes
    SystemSettingsService
  159. def searchIssue(condition: IssueSearchCondition, searchOption: IssueSearchOption, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[IssueInfo]

    Returns the search result against issues.

    Returns the search result against issues.

    condition

    the search condition

    searchOption

    if true then returns only pull requests, false then returns only issues.

    offset

    the offset for pagination

    limit

    the limit for pagination

    repos

    Tuple of the repository owner and the repository name

    returns

    the search result (list of tuples which contain issue, labels and comment count)

    Definition Classes
    IssuesService
  160. def searchIssueByApi(condition: IssueSearchCondition, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[(Issue, Account, Option[Account])]

    for api

    for api

    returns

    (issue, issueUser, assignedUser)

    Definition Classes
    IssuesService
  161. def searchIssuesByKeyword(owner: String, repository: String, query: String, pullRequest: Boolean)(implicit s: (blockingApi)#Session): List[(Issue, Int, String)]

    Search issues by keyword.

    Search issues by keyword.

    owner

    the repository owner

    repository

    the repository name

    query

    the keywords separated by whitespace.

    returns

    issues with comment count and matched content of issue or comment

    Definition Classes
    IssuesService
  162. def searchPullRequestByApi(condition: IssueSearchCondition, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[(Issue, Account, Int, PullRequest, Repository, Account, Option[Account])]

    for api

    for api

    returns

    (issue, issueUser, commentCount, pullRequest, headRepo, headOwner)

    Definition Classes
    IssuesService
  163. def setDefaultPriority(owner: String, repository: String, priorityId: Option[Int])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  164. def suspendAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  165. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  166. def toString(): String
    Definition Classes
    AnyRef → Any
  167. 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.

    Definition Classes
    MergeService
  168. def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  169. def updateAccountExtraMailAddresses(userName: String, mails: List[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  170. def updateAccountPreference(userName: String, highlighterTheme: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  171. def updateAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  172. def updateAssignedUserName(owner: String, repository: String, issueId: Int, assignedUserName: Option[String], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  173. def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  174. def updateBaseBranch(owner: String, repository: String, issueId: Int, baseBranch: String, commitIdTo: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  175. def updateClosed(owner: String, repository: String, issueId: Int, closed: Boolean)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  176. def updateComment(issueId: Int, commentId: Int, content: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  177. def updateCommitComment(commentId: Int, content: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    CommitsService
  178. def updateCommitCommentPosition(commentId: Int, commitId: String, oldLine: Option[Int], newLine: Option[Int])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    CommitsService
  179. def updateCommitId(owner: String, repository: String, issueId: Int, commitIdTo: String, commitIdFrom: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  180. def updateDraftToPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  181. def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  182. def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  183. def updateIssue(owner: String, repository: String, issueId: Int, title: String, content: Option[String])(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  184. def updateLabel(owner: String, repository: String, labelId: Int, labelName: String, color: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    LabelsService
  185. def updateLastActivityDate(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit

    Updates the last activity date of the repository.

    Updates the last activity date of the repository.

    Definition Classes
    RepositoryService
  186. def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  187. def updateMilestone(milestone: Milestone)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    MilestonesService
  188. def updateMilestoneId(owner: String, repository: String, issueId: Int, milestoneId: Option[Int], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  189. def updatePriority(owner: String, repository: String, priorityId: Int, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  190. def updatePriorityId(owner: String, repository: String, issueId: Int, priorityId: Option[Int], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  191. 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.

    Fetch pull request contents into refs/pull/${issueId}/head and update pull request table.

    Definition Classes
    PullRequestService
  192. 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
    Definition Classes
    PullRequestService
  193. def updateWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  194. def updateWebHookByApi(id: Int, owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  195. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  196. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  197. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from RequestCache

Inherited from SystemSettingsService

Inherited from CommitsService

Inherited from MilestonesService

Inherited from PrioritiesService

Inherited from LabelsService

Inherited from WebHookService

Inherited from PullRequestService

Inherited from MergeService

Inherited from ActivityService

Inherited from IssuesService

Inherited from AccountService

Inherited from RepositoryService

Inherited from PreReceiveHook

Inherited from PostReceiveHook

Inherited from AnyRef

Inherited from Any

Ungrouped