All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.updater.alert.TransitAlertProvider Maven / Gradle / Ivy

The newest version!
package org.opentripplanner.updater.alert;

import org.opentripplanner.routing.services.TransitAlertService;

/**
 * Interface for things that maintain their own individual index associating TransitAlerts with the
 * transit entities they affect. In practice, these are always realtime updaters handling GTFS-RT
 * Alerts or Siri SX messages. This interface appears to exist only to allow merging multiple such
 * services together, which appears to be a workaround for not maintaining snapshots of a single
 * instance-wide index.
 *
 * Ideally this will become unnecessary and be removed when updaters are all feeding into a central
 * index. If kept, this should be renamed from TransitAlertProvider to TransitAlertServiceProvider.
 */
public interface TransitAlertProvider {
  TransitAlertService getTransitAlertService();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy