Class

com.codacy.client.stash.service

RepositoryServices

Related Doc: package service

Permalink

class RepositoryServices extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepositoryServices
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RepositoryServices(client: StashClient)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val BASE: String

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createKey(projectKey: String, repo: String, key: String, permission: String = "REPO_READ"): RequestResponse[SshKeySimple]

    Permalink

    Creates a ssh key

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getRepositories(projectKey: String, pageRequest: Option[PageRequest]): RequestResponse[Seq[Repository]]

    Permalink

    Gets the list of the user's repositories.

    Gets the list of the user's repositories. Private repositories only appear on this list if the caller is authenticated and is authorized to view the repository.

  13. def getRepository(projectKey: String, repositorySlug: String): RequestResponse[Repository]

    Permalink

    Retrieve the repository matching the supplied projectKey and repositorySlug.

    Retrieve the repository matching the supplied projectKey and repositorySlug.

    The authenticated user must have REPO_READ permission for the specified repository to call this resource.

  14. def getRepositoryGroups(projectKey: String, repositorySlug: String, pageRequest: Option[PageRequest]): RequestResponse[Seq[Group]]

    Permalink

    Retrieve a page of groups that have been granted at least one permission for the specified repository.

    Retrieve a page of groups that have been granted at least one permission for the specified repository.

    The authenticated user must have REPO_ADMIN permission for the specified repository or a higher project or global permission to call this resource.

  15. def getRepositoryUserPermissions(projectKey: String, repositorySlug: String, user: String, pageRequest: Option[PageRequest]): RequestResponse[Seq[UserPermission]]

    Permalink

    Retrieve a page of users that have been granted at least one permission for the specified repository.

    Retrieve a page of users that have been granted at least one permission for the specified repository.

    The authenticated user must have REPO_ADMIN permission for the specified repository or a higher project or global permission to call this resource.

  16. def getRepositoryUsers(projectKey: String, repositorySlug: String, pageRequest: Option[PageRequest]): RequestResponse[Seq[UserPermission]]

    Permalink

    Retrieve a page of users that have been granted at least one permission for the specified repository.

    Retrieve a page of users that have been granted at least one permission for the specified repository.

    The authenticated user must have REPO_ADMIN permission for the specified repository or a higher project or global permission to call this resource.

  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def search(projectName: String, repositoryName: String, pageRequest: Option[PageRequest], permission: Option[String] = None): RequestResponse[Seq[Repository]]

    Permalink

    Retrieve a page of repositories based on query parameters that control the search.

    Retrieve a page of repositories based on query parameters that control the search.

    projectName

    This will limit the resulting repository list to ones whose project's name matches this parameter's value The match will be done case-insensitive and any leading and/or trailing whitespace characters on the projectname parameter will be stripped. Note that this filed IS the Project Name NOT the Project Key Ex: TesT will return results for TEST, TEST2, etc

    repositoryName

    This will limit the resulting repository list to ones whose name matches this parameter's value The match will be done case-insensitive and any leading and/or trailing whitespace characters on the repositoryName parameter will be stripped. Ex: Codacy will return codacy-website, codacy-worker, etc

    pageRequest

    If specified, will return results only for the requested page

    permission

    If specified, it must be a valid repository permission level name and will limit the resulting repository list to ones that the requesting user has the specified permission level to. The currently supported explicit permission values are REPO_READ, REPO_WRITE and REPO_ADMIN.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped