c

gitbucket.core.ssh

DefaultGitUploadPack

class DefaultGitUploadPack extends DefaultGitCommand with RepositoryService with AccountService with DeployKeyService

Linear Supertypes
DeployKeyService, AccountService, RepositoryService, DefaultGitCommand, GitCommand, ServerSessionAware, Command, CommandDirectStreamsAware, CommandDirectErrorStreamAware, CommandDirectOutputStreamAware, CommandDirectInputStreamAware, CommandLifecycle, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultGitUploadPack
  2. DeployKeyService
  3. AccountService
  4. RepositoryService
  5. DefaultGitCommand
  6. GitCommand
  7. ServerSessionAware
  8. Command
  9. CommandDirectStreamsAware
  10. CommandDirectErrorStreamAware
  11. CommandDirectOutputStreamAware
  12. CommandDirectInputStreamAware
  13. CommandLifecycle
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultGitUploadPack(owner: String, repoName: 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 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 addDeployKey(userName: String, repositoryName: String, title: String, publicKey: String, allowWrite: Boolean)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    DeployKeyService
  7. def addOrUpdateAccountPreference(userName: String, highlighterTheme: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  10. var callback: ExitCallback
    Attributes
    protected
    Definition Classes
    GitCommand
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. 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
  13. def createGroup(groupName: String, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
    Definition Classes
    AccountService
  14. def decodeResetPasswordToken(token: String): Option[String]
    Definition Classes
    AccountService
  15. def deleteDeployKey(userName: String, repositoryName: String, deployKeyId: Int)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    DeployKeyService
  16. def deleteRepository(repository: Repository)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  17. def destroy(channel: ChannelSession): Unit
    Definition Classes
    GitCommand → CommandLifecycle
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. var err: OutputStream
    Attributes
    protected
    Definition Classes
    GitCommand
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def generateResetPasswordToken(mailAddress: String): String
    Definition Classes
    AccountService
  23. def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  24. def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  25. def getAccountByUserNameIgnoreCase(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  26. def getAccountExtraMailAddresses(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  27. def getAccountPreference(userName: String)(implicit s: (blockingApi)#Session): Option[AccountPreference]
    Definition Classes
    AccountService
  28. def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
    Definition Classes
    AccountService
  29. def getAllDeployKeys()(implicit s: (blockingApi)#Session): List[DeployKey]
    Definition Classes
    DeployKeyService
  30. 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
  31. def getAllUsers(includeRemoved: Boolean = true, includeGroups: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
    Definition Classes
    AccountService
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. 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
  34. 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
  35. 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
  36. def getDeployKeys(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[DeployKey]
    Definition Classes
    DeployKeyService
  37. def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[Repository]
    Definition Classes
    RepositoryService
  38. def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
    Definition Classes
    AccountService
  39. def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  40. def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  48. def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  49. def hasOwnerRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  50. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  51. var in: InputStream
    Attributes
    protected
    Definition Classes
    GitCommand
  52. 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
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    AccountService
  55. def isReadable(repository: Repository, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  56. def isReadableUser(authType: AuthType, repositoryInfo: RepositoryInfo)(implicit session: (blockingApi)#Session): Boolean
    Attributes
    protected
    Definition Classes
    DefaultGitCommand
  57. def isWritableUser(authType: AuthType, repositoryInfo: RepositoryInfo)(implicit session: (blockingApi)#Session): Boolean
    Attributes
    protected
    Definition Classes
    DefaultGitCommand
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. var out: OutputStream
    Attributes
    protected
    Definition Classes
    GitCommand
  62. val owner: String
    Definition Classes
    DefaultGitCommand
  63. 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
  64. 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
  65. def removeUser(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  66. def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  67. def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  68. val repoName: String
    Definition Classes
    DefaultGitCommand
  69. def runTask(authType: AuthType): Unit
    Attributes
    protected
    Definition Classes
    DefaultGitUploadPackGitCommand
  70. def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  71. 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
  72. def setErrorStream(err: OutputStream): Unit
    Definition Classes
    GitCommand → CommandDirectErrorStreamAware
  73. def setExitCallback(callback: ExitCallback): Unit
    Definition Classes
    GitCommand → Command
  74. def setInputStream(in: InputStream): Unit
    Definition Classes
    GitCommand → CommandDirectInputStreamAware
  75. def setOutputStream(out: OutputStream): Unit
    Definition Classes
    GitCommand → CommandDirectOutputStreamAware
  76. def setSession(serverSession: ServerSession): Unit
    Definition Classes
    GitCommand → ServerSessionAware
  77. final def start(channel: ChannelSession, env: Environment): Unit
    Definition Classes
    GitCommand → CommandLifecycle
  78. def suspendAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  79. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  80. def toString(): String
    Definition Classes
    AnyRef → Any
  81. def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  82. def updateAccountExtraMailAddresses(userName: String, mails: List[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  83. def updateAccountPreference(userName: String, highlighterTheme: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  84. def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  85. def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  86. def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  87. 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
  88. def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  89. def userName(authType: AuthType): String
    Attributes
    protected
    Definition Classes
    DefaultGitCommand
  90. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  91. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  92. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from DeployKeyService

Inherited from AccountService

Inherited from RepositoryService

Inherited from DefaultGitCommand

Inherited from GitCommand

Inherited from ServerSessionAware

Inherited from Command

Inherited from CommandDirectStreamsAware

Inherited from CommandDirectErrorStreamAware

Inherited from CommandDirectOutputStreamAware

Inherited from CommandDirectInputStreamAware

Inherited from CommandLifecycle

Inherited from AnyRef

Inherited from Any

Ungrouped