Interface BitbucketSearchClient

    • Method Detail

      • findProjects

        BitbucketPage<BitbucketProject> findProjects()
        Search for Bitbucket Server projects whose names contain the provided value. Matching is performed in a case-insensitive manner, and will match anywhere within the projects' names.

        Note: Values containing only whitespace are ignored, and will not be applied. Additionally, leading and trailing whitespace are trimmed. A filter that is empty will result in the first page of all (accessible) projects being returned

        Returns:
        a page of projects matching the query
      • findRepositories

        BitbucketPage<BitbucketRepository> findRepositories​(String repositoryName)
        Search for Bitbucket Server repositories whose names match the provided value. Matching is done with Elasticsearch so the filter will go through some tokenization before attempting to match tokenized repository names. Repositories will only be searched for within the provided project.

        Note: Values containing only whitespace are ignored, and will not be applied. Additionally, leading and trailing whitespace are trimmed. A filter that is empty will result in all (accessible) repositories being returned

        Parameters:
        repositoryName - the terms to use when searching for repositories
        Returns:
        a page of repositories matching the filter