org.onebusaway.transit_data_federation.bundle.tasks
Class CalendarServiceDataTask

java.lang.Object
  extended by org.onebusaway.transit_data_federation.bundle.tasks.CalendarServiceDataTask
All Implemented Interfaces:
Runnable

@Component
public class CalendarServiceDataTask
extends Object
implements Runnable

Pre-computes the CalendarServiceData that is needed to power a CalendarServiceImpl and serializes it to disk as part of the transit data bundle.

Author:
bdferris
See Also:
CalendarServiceData, CalendarServiceImpl, CalendarService, CalendarServiceDataFactoryImpl

Constructor Summary
CalendarServiceDataTask()
           
 
Method Summary
 void run()
           
 void setBundle(FederatedTransitDataBundle bundle)
           
 void setExcludeFutureServiceDatesInDays(int excludeFutureServiceDatesInDays)
           
 void setGtfsDao(org.onebusaway.gtfs.services.GtfsRelationalDao dao)
           
 void setRefreshService(RefreshService refreshService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarServiceDataTask

public CalendarServiceDataTask()
Method Detail

setGtfsDao

public void setGtfsDao(org.onebusaway.gtfs.services.GtfsRelationalDao dao)

setBundle

public void setBundle(FederatedTransitDataBundle bundle)

setRefreshService

public void setRefreshService(RefreshService refreshService)

setExcludeFutureServiceDatesInDays

public void setExcludeFutureServiceDatesInDays(int excludeFutureServiceDatesInDays)

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2011 OneBusAway. All Rights Reserved.