use of org.opentripplanner.ext.siri.SiriAlertsUpdateHandler in project OpenTripPlanner by opentripplanner.
the class SiriSXUpdater method setup.
@Override
public void setup(Graph graph) {
this.transitAlertService = new TransitAlertServiceImpl(graph);
SiriFuzzyTripMatcher fuzzyTripMatcher = new SiriFuzzyTripMatcher(new RoutingService(graph));
if (updateHandler == null) {
updateHandler = new SiriAlertsUpdateHandler(feedId);
}
updateHandler.setEarlyStart(earlyStart);
updateHandler.setTransitAlertService(transitAlertService);
updateHandler.setSiriFuzzyTripMatcher(fuzzyTripMatcher);
}
Aggregations