c

gitbucket.core.servlet

WikiCommitHook

class WikiCommitHook extends PostReceiveHook with WebHookService with AccountService with RepositoryService

Linear Supertypes
RepositoryService, AccountService, WebHookService, PostReceiveHook, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WikiCommitHook
  2. RepositoryService
  3. AccountService
  4. WebHookService
  5. PostReceiveHook
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WikiCommitHook(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 addAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  5. 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
  6. def addWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  9. def callWebHook(event: Event, webHooks: List[WebHook], payload: WebHookPayload)(implicit c: Context): List[(WebHook, String, Future[HttpRequest], Future[HttpResponse])]
    Definition Classes
    WebHookService
  10. def callWebHookOf(owner: String, repository: String, event: Event)(makePayload: ⇒ Option[WebHookPayload])(implicit s: (blockingApi)#Session, c: Context): Unit
    Definition Classes
    WebHookService
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def createAccount(userName: String, password: String, fullName: String, mailAddress: String, isAdmin: Boolean, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  13. def createGroup(groupName: String, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  14. def deleteAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  15. def deleteRepository(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  16. def deleteWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  21. def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  22. 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
  23. 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
  24. 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
  25. def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
    Definition Classes
    AccountService
  26. 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
  27. def getAllUsers(includeRemoved: Boolean = true, includeGroups: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
    Definition Classes
    AccountService
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. 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
  30. 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
  31. 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
  32. def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[Repository]
    Definition Classes
    RepositoryService
  33. def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
    Definition Classes
    AccountService
  34. def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  35. def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  36. 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
  37. 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
  38. def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
    Definition Classes
    RepositoryService
  39. 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.

    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
  40. 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
  41. 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
  42. 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
  43. def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  44. def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  45. def hasOwnerRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  47. def insertRepository(repositoryName: String, userName: String, description: Option[String], isPrivate: Boolean, 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
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    AccountService
  50. def isReadable(repository: Repository, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. def onPostReceive(receivePack: ReceivePack, commands: Collection[ReceiveCommand]): Unit
    Definition Classes
    WikiCommitHook → PostReceiveHook
  55. 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
  56. def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  57. def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  58. def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  59. 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)(implicit s: (blockingApi)#Session): Unit

    Save repository options.

    Save repository options.

    Definition Classes
    RepositoryService
  60. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  63. def updateAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  64. def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  65. def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  66. def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  67. 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
  68. def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  69. def updateWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    WebHookService
  70. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from RepositoryService

Inherited from AccountService

Inherited from WebHookService

Inherited from PostReceiveHook

Inherited from AnyRef

Inherited from Any

Ungrouped