org.onebusaway.transit_data_federation.bundle.tasks
Class GenerateNarrativesTask
java.lang.Object
org.onebusaway.transit_data_federation.bundle.tasks.GenerateNarrativesTask
- All Implemented Interfaces:
- Runnable
public class GenerateNarrativesTask
- extends Object
- implements Runnable
Precomputes all the link narrative objects that will power
NarrativeService
and powered by a link NarrativeProviderImpl
and NarrativeServiceImpl
- Author:
- bdferris
- See Also:
NarrativeService
,
NarrativeServiceImpl
,
NarrativeProviderImpl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerateNarrativesTask
public GenerateNarrativesTask()
setBundle
public void setBundle(FederatedTransitDataBundle bundle)
setGtfsDao
public void setGtfsDao(org.onebusaway.gtfs.services.GtfsRelationalDao gtfsDao)
setTransitGraphDao
public void setTransitGraphDao(TransitGraphDao transitGraphDao)
setBlockIndexService
public void setBlockIndexService(BlockIndexService blockIndexService)
setModifications
public void setModifications(Modifications modifications)
setShapePointHelper
public void setShapePointHelper(ShapePointHelper shapePointHelper)
setUniqueService
public void setUniqueService(UniqueService uniqueService)
setRefreshService
public void setRefreshService(RefreshService refreshService)
setStopDirectionStandardDeviationThreshold
public void setStopDirectionStandardDeviationThreshold(double stopDirectionStandardDeviationThreshold)
run
public void run()
- Specified by:
run
in interface Runnable
generateAgencyNarratives
public void generateAgencyNarratives(NarrativeProviderImpl provider)
generateRouteNarratives
public void generateRouteNarratives(NarrativeProviderImpl provider)
generateShapePointNarratives
public void generateShapePointNarratives(NarrativeProviderImpl provider)
generateStopNarratives
public void generateStopNarratives(NarrativeProviderImpl provider)
generateTripNarratives
public void generateTripNarratives(NarrativeProviderImpl provider)
Copyright © 2012 OneBusAway. All Rights Reserved.