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 AlertPatchServicepublic Collection<AlertPatch> getStopPatches(org.onebusaway.gtfs.model.AgencyAndId stop)
getStopPatches in interface AlertPatchServicepublic Collection<AlertPatch> getRoutePatches(org.onebusaway.gtfs.model.AgencyAndId route)
getRoutePatches in interface AlertPatchServicepublic void apply(AlertPatch alertPatch)
apply in interface AlertPatchServicepublic void expire(Set<String> purge)
expire in interface AlertPatchServicepublic void expireAll()
expireAll in interface AlertPatchServicepublic void expireAllExcept(Set<String> retain)
expireAllExcept in interface AlertPatchServiceCopyright © 2018. All rights reserved.