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 AlertPatchService
public Collection<AlertPatch> getStopPatches(FeedScopedId stop)
getStopPatches
in interface AlertPatchService
public Collection<AlertPatch> getRoutePatches(FeedScopedId 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 © 2019. All rights reserved.