Class TripEntriesFactory
- java.lang.Object
-
- org.onebusaway.transit_data_federation.bundle.tasks.transit_graph.TripEntriesFactory
-
@Component public class TripEntriesFactory extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTripEntriesFactory.JobResultclassTripEntriesFactory.ProcessRouteJob
-
Constructor Summary
Constructors Constructor Description TripEntriesFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessTrips(TransitGraphImpl graph)voidsetGtfsDao(org.onebusaway.gtfs.services.GtfsRelationalDao gtfsDao)voidsetShapePointHelper(ShapePointHelper shapePointsHelper)voidsetStopTimeEntriesFactory(StopTimeEntriesFactory stopTimeEntriesFactory)voidsetThrowExceptionOnInvalidStopToShapeMappingException(boolean throwExceptionOnInvalidStopToShapeMappingException)By default, we throw an exception when an invalid stop-to-shape mapping is found for a GTFS feed.voidsetUniqueService(UniqueService uniqueService)
-
-
-
Method Detail
-
setUniqueService
@Autowired public void setUniqueService(UniqueService uniqueService)
-
setShapePointHelper
@Autowired public void setShapePointHelper(ShapePointHelper shapePointsHelper)
-
setGtfsDao
@Autowired public void setGtfsDao(org.onebusaway.gtfs.services.GtfsRelationalDao gtfsDao)
-
setStopTimeEntriesFactory
@Autowired public void setStopTimeEntriesFactory(StopTimeEntriesFactory stopTimeEntriesFactory)
-
setThrowExceptionOnInvalidStopToShapeMappingException
public void setThrowExceptionOnInvalidStopToShapeMappingException(boolean throwExceptionOnInvalidStopToShapeMappingException)
By default, we throw an exception when an invalid stop-to-shape mapping is found for a GTFS feed. Override that behavior by setting this parameter to false.- Parameters:
throwExceptionOnInvalidStopToShapeMappingException- when true, an exception is thrown on invalid stop-to-shape mappings
-
processTrips
public void processTrips(TransitGraphImpl graph)
-
-