org.onebusaway.transit_data_federation.bundle.tasks
Class GenerateNarrativesTask

java.lang.Object
  extended by 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

Constructor Summary
GenerateNarrativesTask()
           
 
Method Summary
 void generateAgencyNarratives(NarrativeProviderImpl provider)
           
 void generateRouteNarratives(NarrativeProviderImpl provider)
           
 void generateShapePointNarratives(NarrativeProviderImpl provider)
           
 void generateStopNarratives(NarrativeProviderImpl provider)
           
 void generateTripNarratives(NarrativeProviderImpl provider)
           
 void run()
           
 void setBlockIndexService(BlockIndexService blockIndexService)
           
 void setBundle(FederatedTransitDataBundle bundle)
           
 void setGtfsDao(org.onebusaway.gtfs.services.GtfsRelationalDao gtfsDao)
           
 void setModifications(Modifications modifications)
           
 void setRefreshService(RefreshService refreshService)
           
 void setShapePointHelper(ShapePointHelper shapePointHelper)
           
 void setStopDirectionStandardDeviationThreshold(double stopDirectionStandardDeviationThreshold)
           
 void setTransitGraphDao(TransitGraphDao transitGraphDao)
           
 void setUniqueService(UniqueService uniqueService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateNarrativesTask

public GenerateNarrativesTask()
Method Detail

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.