AlertFilter

public class AlertFilter

This class is responsible for taking an org.motechproject.alerts.contract.AlertCriteria object and returning the list of matching alerts.

Constructors

AlertFilter

public AlertFilter(AlertsDataService alertsDataService)

Constructs an instance using the provided data service. The data service will be used for retrieving alerts.

Parameters:
  • alertsDataService – the data service for alerts

Methods