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 Type
    Method
    Description
    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 the EventService.
  • 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 the EventService.
      Parameters:
      eventService - The EventService for interacting with the GitHub event APIs
      Returns:
      PageIterator of event objects