The event provider poll method is called regularly by the event broker to check if there are new events. The poll method of the SampleEventProvider works as follows:
- It first retrieves the EventFilePath parameter.
- It uses the SampleEventLoader class to retrieve the next event if available.
- It calls the fireEvent method to process the event.
- It first checks where there is a matching project field that is changed.
- It creates an EventTrigger with the proper project filter, and pass on to the event broker to process.