Interface GitHubEventFetchStrategy
public interface GitHubEventFetchStrategy
An abstraction that allows customization of how the
EventsConsumer
fetches GitHub events.
The default strategy is to fetch events for the repository that was configured on the consumer.-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.egit.github.core.client.PageIterator
<org.eclipse.egit.github.core.event.Event> fetchEvents
(org.eclipse.egit.github.core.service.EventService eventService) Fetches GitHub events from theEventService
.
-
Method Details
-
fetchEvents
org.eclipse.egit.github.core.client.PageIterator<org.eclipse.egit.github.core.event.Event> fetchEvents(org.eclipse.egit.github.core.service.EventService eventService) Fetches GitHub events from theEventService
.- Parameters:
eventService
- TheEventService
for interacting with the GitHub event APIs- Returns:
PageIterator
of event objects
-