Interface IssueBatchProviderSupport
-
- All Known Subinterfaces:
SIssueProvider
- All Known Implementing Classes:
AbstractIssueProvider
,AbstractPatternBasedIssueProvider
,AbstractPrefixBasedIssueProvider
public interface IssueBatchProviderSupport
Holds an API related to batch issue fetching support.- Since:
- 7.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,IssueData>
findIssuesByIds(java.util.Collection<java.lang.String> ids)
Finds and returns the specified collection of issue ids.boolean
isBatchFetchSupported()
Returns whether the issue provider supports fetching in batch.
-
-
-
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 java.util.Map<java.lang.String,IssueData> findIssuesByIds(@NotNull java.util.Collection<java.lang.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
, ornull
-
-