Class BitbucketRepositoryFinder

java.lang.Object
com.atlassian.bamboo.plugins.git.api.RepositoryFinder
com.atlassian.bamboo.plugins.bitbucket.events.BitbucketRepositoryFinder

public class BitbucketRepositoryFinder extends RepositoryFinder
  • Constructor Details

  • Method Details

    • getPluginKey

      protected String getPluginKey()
      Description copied from class: RepositoryFinder
      Returns the plugin key for the repository. This method must be implemented by subclasses.
      Specified by:
      getPluginKey in class RepositoryFinder
      Returns:
      the plugin key for the repository
    • getRepositorySelector

      protected String getRepositorySelector()
      Description copied from class: RepositoryFinder
      Returns the repository selector. This method must be implemented by subclasses.
      Specified by:
      getRepositorySelector in class RepositoryFinder
      Returns:
      the repository selector
    • findMatchingRepositories

      @NotNull public @NotNull Stream<VcsRepositoryData> findMatchingRepositories(@NotNull @NotNull AbstractBitbucketCloudEvent event)
      Finds and returns a Stream of VcsRepositoryData objects that match the specified AbstractBitbucketCloudEvent.
      Parameters:
      event - the AbstractGithubEvent to match
      Returns:
      a Stream of matching VcsRepositoryData objects