Interface VcsPullRequestDetector

    • Method Detail

      • usePollingForPullRequestDetection

        default boolean usePollingForPullRequestDetection​(@NotNull
                                                          @NotNull VcsRepositoryData repositoryData)
        Check if Bamboo needs to actively poll in order to detect new/deleted pull requests for specific repository configuration.
        Parameters:
        repositoryData - repository
        Returns:
        - true if Bamboo need periodically contact the remote repository in order to update list of known pull requests. - false if repository is capable of detecting pull requests using one of available "push" method, e.g. REST resource, remote event.
      • supportsForkedPullRequests

        default boolean supportsForkedPullRequests()
        Whether pull requests from forked repositories are handled.
        Returns:
        - true if detector supports pull requests from forked repositories - false if it does not