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(FeedScopedId route) |
Collection<AlertPatch> |
getStopPatches(FeedScopedId stop) |
public AlertPatchServiceImpl(Graph graph)
public Collection<AlertPatch> getAllAlertPatches()
getAllAlertPatches in interface AlertPatchServicepublic Collection<AlertPatch> getStopPatches(FeedScopedId stop)
getStopPatches in interface AlertPatchServicepublic Collection<AlertPatch> getRoutePatches(FeedScopedId 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 © 2020. All rights reserved.