Class BitbucketSearchClientImpl

    • Method Detail

      • findProjects

        public BitbucketPage<BitbucketProject> findProjects()
        Description copied from interface: BitbucketSearchClient
        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

        Specified by:
        findProjects in interface BitbucketSearchClient
        Returns:
        a page of projects matching the query
      • findRepositories

        public BitbucketPage<BitbucketRepository> findRepositories​(String repositoryName)
        Description copied from interface: BitbucketSearchClient
        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

        Specified by:
        findRepositories in interface BitbucketSearchClient
        Parameters:
        repositoryName - the terms to use when searching for repositories
        Returns:
        a page of repositories matching the filter