Class GithubRepositoryFinder

java.lang.Object
com.atlassian.bamboo.plugins.git.api.RepositoryFinder
com.atlassian.bamboo.plugins.github.webhooks.GithubRepositoryFinder

public class GithubRepositoryFinder 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
    • getIndexKeyFromSlug

      protected VcsLocationIndexKey getIndexKeyFromSlug(@NotNull @NotNull String repositorySlug)
      Description copied from class: RepositoryFinder
      Returns the indexing key based on repositorySlug.
      Specified by:
      getIndexKeyFromSlug in class RepositoryFinder
    • findMatchingRepositories

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