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]) @IntrinsicCandidate() @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)(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)(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 decodeResetPasswordToken(token: String): Option[String]
    Definition Classes
    AccountService
  40. def deleteAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  41. def deleteAllIssueAssignees(owner: String, repository: String, issueId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  42. def deleteAllIssueLabels(owner: String, repository: String, issueId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  43. def deleteComment(owner: String, repository: String, issueId: Int, commentId: Int)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  44. def deleteCommitComment(commentId: Int)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    CommitsService
  45. def deleteIssueAssignee(owner: String, repository: String, issueId: Int, assigneeUserName: String, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  46. def deleteIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  47. def deleteLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    LabelsService
  48. def deleteMilestone(owner: String, repository: String, milestoneId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    MilestonesService
  49. def deletePriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  50. def deleteRepository(repository: Repository)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  51. def deleteWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  52. def deleteWebHookById(id: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  53. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  55. 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
  56. def generateResetPasswordToken(mailAddress: String): String
    Definition Classes
    AccountService
  57. def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  58. def getAccountByMailAddressFromCache(mailAddress: String)(implicit context: Context): Option[Account]
    Definition Classes
    RequestCache
  59. def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  60. def getAccountByUserNameFromCache(userName: String)(implicit context: Context): Option[Account]
    Definition Classes
    RequestCache
  61. def getAccountByUserNameIgnoreCase(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  62. def getAccountExtraMailAddresses(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  63. def getAccountPreference(userName: String)(implicit s: (blockingApi)#Session): Option[AccountPreference]
    Definition Classes
    AccountService
  64. 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
  65. 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
  66. 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
  67. def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
    Definition Classes
    AccountService
  68. def getActivitiesByUser(activityUserName: String, publicOnly: Boolean)(implicit context: Context): List[Activity]
    Definition Classes
    ActivityService
  69. 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
  70. def getAllUsers(includeRemoved: Boolean = true, includeGroups: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
    Definition Classes
    AccountService
  71. def getApiMilestone(repository: RepositoryInfo, milestoneId: Int)(implicit s: (blockingApi)#Session): Option[ApiMilestone]
    Definition Classes
    MilestonesService
  72. def getAssignableUserNames(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    IssuesService
  73. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  74. 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
  75. 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
  76. def getComment(owner: String, repository: String, commentId: String)(implicit s: (blockingApi)#Session): Option[IssueComment]
    Definition Classes
    IssuesService
  77. def getCommentForApi(owner: String, repository: String, commentId: Int)(implicit s: (blockingApi)#Session): Option[(IssueComment, Account, Issue)]
    Definition Classes
    IssuesService
  78. def getComments(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[model.IssueCommentComponent.IssueComments.TableElementType]
    Definition Classes
    IssuesService
  79. 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
  80. def getCommitComment(owner: String, repository: String, commentId: String)(implicit s: (blockingApi)#Session): Option[model.CommitCommentComponent.CommitComments.TableElementType]
    Definition Classes
    CommitsService
  81. def getCommitComments(owner: String, repository: String, commitId: String, includePullRequest: Boolean)(implicit s: (blockingApi)#Session): List[model.CommitCommentComponent.CommitComments.TableElementType]
    Definition Classes
    CommitsService
  82. 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
  83. def getDefaultPriority(owner: String, repository: String)(implicit s: (blockingApi)#Session): Option[Priority]
    Definition Classes
    PrioritiesService
  84. def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[Repository]
    Definition Classes
    RepositoryService
  85. def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
    Definition Classes
    AccountService
  86. def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  87. def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  88. def getIssue(owner: String, repository: String, issueId: String)(implicit s: (blockingApi)#Session): Option[model.IssueComponent.Issues.TableElementType]
    Definition Classes
    IssuesService
  89. def getIssueAssignees(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[IssueAssignee]
    Definition Classes
    IssuesService
  90. def getIssueFromCache(userName: String, repositoryName: String, issueId: String)(implicit context: Context): Option[Issue]
    Definition Classes
    RequestCache
  91. def getIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int)(implicit s: (blockingApi)#Session): Option[IssueLabel]
    Definition Classes
    IssuesService
  92. def getIssueLabels(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[Label]
    Definition Classes
    IssuesService
  93. def getLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Option[Label]
    Definition Classes
    LabelsService
  94. def getLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Option[Label]
    Definition Classes
    LabelsService
  95. def getLabels(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Label]
    Definition Classes
    LabelsService
  96. def getMergedComment(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Option[(IssueComment, Account)]
    Definition Classes
    IssuesService
  97. def getMilestone(owner: String, repository: String, milestoneId: Int)(implicit s: (blockingApi)#Session): Option[Milestone]
    Definition Classes
    MilestonesService
  98. def getMilestones(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Milestone]
    Definition Classes
    MilestonesService
  99. def getMilestonesWithIssueCount(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[(Milestone, Int, Int)]
    Definition Classes
    MilestonesService
  100. def getOpenIssues(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Issue]
    Definition Classes
    IssuesService
  101. def getPriorities(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Priority]
    Definition Classes
    PrioritiesService
  102. def getPriority(owner: String, repository: String, priorityName: String)(implicit s: (blockingApi)#Session): Option[Priority]
    Definition Classes
    PrioritiesService
  103. def getPriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Option[Priority]
    Definition Classes
    PrioritiesService
  104. 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
  105. def getPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Option[(Issue, PullRequest)]
    Definition Classes
    PullRequestService
  106. def getPullRequestByRequestCommit(userName: String, repositoryName: String, toBranch: String, fromBranch: String, commitId: String)(implicit s: (blockingApi)#Session): Option[(PullRequest, Issue)]
    Definition Classes
    PullRequestService
  107. def getPullRequestComments(userName: String, repositoryName: String, issueId: Int, commits: Seq[CommitInfo])(implicit s: (blockingApi)#Session): Seq[Comment]
    Definition Classes
    PullRequestService
  108. def getPullRequestCommitFromTo(originRepository: RepositoryInfo, forkedRepository: RepositoryInfo, originId: String, forkedId: String): (Option[ObjectId], Option[ObjectId])
    Definition Classes
    PullRequestService
  109. def getPullRequestCountGroupByUser(closed: Boolean, owner: Option[String], repository: Option[String])(implicit s: (blockingApi)#Session): List[PullRequestCount]
    Definition Classes
    PullRequestService
  110. 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
  111. def getPullRequestsByBranch(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
    Definition Classes
    PullRequestService
  112. def getPullRequestsByRequest(userName: String, repositoryName: String, branch: String, closed: Option[Boolean])(implicit s: (blockingApi)#Session): List[PullRequest]
    Definition Classes
    PullRequestService
  113. 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
  114. def getReceiveHooks(): Seq[ReceiveHook]
    Attributes
    protected
    Definition Classes
    MergeService
  115. def getRecentActivitiesByRepos(repos: Set[(String, String)])(implicit context: Context): List[Activity]
    Definition Classes
    ActivityService
  116. def getRecentPublicActivities()(implicit context: Context): List[Activity]
    Definition Classes
    ActivityService
  117. 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
  118. def getRepositoryInfoFromCache(userName: String, repositoryName: String)(implicit context: Context): Option[Repository]
    Definition Classes
    RequestCache
  119. 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
  120. def getRequestCompareInfo(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestCommitId: String, settings: SystemSettings): (Seq[Seq[CommitInfo]], Seq[DiffInfo])
    Definition Classes
    PullRequestService
  121. def getSingleDiff(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestCommitId: String, path: String): Option[DiffInfo]
    Definition Classes
    PullRequestService
  122. def getSingleDiff(userName: String, repositoryName: String, commitId: String, path: String): Option[DiffInfo]
    Definition Classes
    PullRequestService
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  131. def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  132. def hasOwnerRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  133. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  134. def insertIssue(owner: String, repository: String, loginUser: String, title: String, content: Option[String], milestoneId: Option[Int], priorityId: Option[Int], isPullRequest: Boolean = false)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  135. def insertRepository(repositoryName: String, userName: String, description: Option[String], isPrivate: Boolean, defaultBranch: String, 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
  136. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  137. def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    AccountService
  138. def isReadable(repository: Repository, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  139. def loadCommitCommentDiff(owner: String, repository: String, commitId: String, fileName: String, oldLine: Option[Int], newLine: Option[Int]): Option[String]
    Definition Classes
    CommitsService
  140. def loadSystemSettings(props: Properties): SystemSettings
    Definition Classes
    SystemSettingsService
  141. def loadSystemSettings(): SystemSettings
    Definition Classes
    SystemSettingsService
  142. def markMergeAndClosePullRequest(userName: String, owner: String, repository: String, pull: PullRequest)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  143. 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
  144. 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
  145. 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
  146. 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
  147. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  148. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  149. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  150. def onPostReceive(receivePack: ReceivePack, commands: Collection[ReceiveCommand]): Unit
    Definition Classes
    CommitLogHook → PostReceiveHook
  151. def onPreReceive(receivePack: ReceivePack, commands: Collection[ReceiveCommand]): Unit
    Definition Classes
    CommitLogHook → PreReceiveHook
  152. def openMilestone(milestone: Milestone)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    MilestonesService
  153. 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
  154. 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
  155. def recordActivity[T <: AnyRef { def toActivity: gitbucket.core.model.Activity }](info: T): Unit
    Definition Classes
    ActivityService
  156. def registerIssueAssignee(owner: String, repository: String, issueId: Int, assigneeUserName: String, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  157. def registerIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  158. 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
  159. 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
  160. def removeUser(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  161. def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  162. def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  163. def reorderPriorities(owner: String, repository: String, order: Map[Int, Int])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  164. def saveCommitCommentDiff(owner: String, repository: String, commitId: String, fileName: String, oldLine: Option[Int], newLine: Option[Int], diffJson: String): Unit
    Definition Classes
    CommitsService
  165. def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  166. 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
  167. def saveSystemSettings(settings: SystemSettings): Unit
    Definition Classes
    SystemSettingsService
  168. 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
  169. def searchIssueByApi(condition: IssueSearchCondition, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[(Issue, Account, List[Account])]

    for api

    for api

    returns

    (issue, issueUser, Seq(assigneeUsers))

    Definition Classes
    IssuesService
  170. 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
  171. def searchPullRequestByApi(condition: IssueSearchCondition, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[(Issue, Account, Int, PullRequest, Repository, Account, List[Account])]

    for api

    for api

    returns

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

    Definition Classes
    IssuesService
  172. def setDefaultPriority(owner: String, repository: String, priorityId: Option[Int])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  173. def suspendAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  174. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  175. def toString(): String
    Definition Classes
    AnyRef → Any
  176. 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
  177. def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  178. def updateAccountExtraMailAddresses(userName: String, mails: List[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  179. def updateAccountPreference(userName: String, highlighterTheme: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  180. def updateAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  181. def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  182. def updateBaseBranch(owner: String, repository: String, issueId: Int, baseBranch: String, commitIdTo: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  183. def updateClosed(owner: String, repository: String, issueId: Int, closed: Boolean)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  184. def updateComment(owner: String, repository: String, issueId: Int, commentId: Int, content: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  185. def updateCommitComment(commentId: Int, content: String)(implicit s: (blockingApi)#Session): Int
    Definition Classes
    CommitsService
  186. def updateCommitCommentPosition(commentId: Int, commitId: String, oldLine: Option[Int], newLine: Option[Int])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    CommitsService
  187. def updateCommitId(owner: String, repository: String, issueId: Int, commitIdTo: String, commitIdFrom: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  188. def updateDraftToPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PullRequestService
  189. def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  190. def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  191. def updateIssue(owner: String, repository: String, issueId: Int, title: String, content: Option[String])(implicit s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  192. def updateLabel(owner: String, repository: String, labelId: Int, labelName: String, color: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    LabelsService
  193. 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
  194. def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  195. def updateMilestone(milestone: Milestone)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    MilestonesService
  196. def updateMilestoneId(owner: String, repository: String, issueId: Int, milestoneId: Option[Int], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  197. def updatePriority(owner: String, repository: String, priorityId: Int, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    PrioritiesService
  198. def updatePriorityId(owner: String, repository: String, issueId: Int, priorityId: Option[Int], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
    Definition Classes
    IssuesService
  199. 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
  200. 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
  201. def updateWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  202. 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
  203. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  204. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  205. 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 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