Interface IssueBatchProviderSupport

    • Method Detail

      • isBatchFetchSupported

        boolean isBatchFetchSupported()
        Returns whether the issue provider supports fetching in batch.

        Note: the method is always fast.

        Returns:
        true if the issue provider supports fetching in batch
      • findIssuesByIds

        @Nullable
        Map<String,​IssueData> findIssuesByIds​(@NotNull
                                                    Collection<String> ids)
        Finds and returns the specified collection of issue ids. If current provider does not support batch fetching, null is returned.

        Note: the method is not necessarily fast, and should be called in a separate issue.

        Parameters:
        ids - the collection of issue ids to fetch
        Returns:
        the map issue id -> issue data, or null