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

org.opentripplanner.routing.services.TransitAlertService Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package org.opentripplanner.routing.services;

import org.opentripplanner.model.FeedScopedId;
import org.opentripplanner.routing.alertpatch.TransitAlert;

import java.util.Collection;

public interface TransitAlertService {

    void setAlerts(Collection alerts);

    Collection getAllAlerts();

    TransitAlert getAlertById(String id);

    Collection getStopAlerts(FeedScopedId stop);

    Collection getRouteAlerts(FeedScopedId route);

    Collection getTripAlerts(FeedScopedId trip);

    Collection getAgencyAlerts(FeedScopedId agency);

    Collection getStopAndRouteAlerts(FeedScopedId stop, FeedScopedId route);

    Collection getStopAndTripAlerts(FeedScopedId stop, FeedScopedId trip);

    Collection getTripPatternAlerts(FeedScopedId tripPattern);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy