public class AlertPatchServiceImpl extends Object implements AlertPatchService
Constructor and Description |
---|
AlertPatchServiceImpl(Graph graph) |
Modifier and Type | Method and Description |
---|---|
void |
apply(AlertPatch alertPatch) |
void |
expire(Set<String> purge) |
void |
expireAll() |
void |
expireAllExcept(Set<String> retain) |
Collection<AlertPatch> |
getAllAlertPatches() |
Collection<AlertPatch> |
getRoutePatches(org.onebusaway.gtfs.model.AgencyAndId route) |
Collection<AlertPatch> |
getStopPatches(org.onebusaway.gtfs.model.AgencyAndId stop) |
public AlertPatchServiceImpl(Graph graph)
public Collection<AlertPatch> getAllAlertPatches()
getAllAlertPatches
in interface AlertPatchService
public Collection<AlertPatch> getStopPatches(org.onebusaway.gtfs.model.AgencyAndId stop)
getStopPatches
in interface AlertPatchService
public Collection<AlertPatch> getRoutePatches(org.onebusaway.gtfs.model.AgencyAndId route)
getRoutePatches
in interface AlertPatchService
public void apply(AlertPatch alertPatch)
apply
in interface AlertPatchService
public void expire(Set<String> purge)
expire
in interface AlertPatchService
public void expireAll()
expireAll
in interface AlertPatchService
public void expireAllExcept(Set<String> retain)
expireAllExcept
in interface AlertPatchService
Copyright © 2018. All rights reserved.