org.onebusaway.transit_data_federation.impl.blocks
Class BlockIndexFactoryServiceImpl
java.lang.Object
org.onebusaway.transit_data_federation.impl.blocks.BlockIndexFactoryServiceImpl
- All Implemented Interfaces:
- BlockIndexFactoryService
@Component
public class BlockIndexFactoryServiceImpl
- extends Object
- implements BlockIndexFactoryService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockIndexFactoryServiceImpl
public BlockIndexFactoryServiceImpl()
BlockIndexFactoryServiceImpl
public BlockIndexFactoryServiceImpl(boolean verbose)
setAgencyService
public void setAgencyService(AgencyService agencyService)
setAgencyBeanService
public void setAgencyBeanService(AgencyBeanService agencyBeanService)
setVerbose
public void setVerbose(boolean verbose)
setMaxSlackBetweenConsecutiveTrips
public void setMaxSlackBetweenConsecutiveTrips(int maxSlackBetweenConsecutiveTrips)
- Parameters:
maxSlackBetweenConsecutiveTrips
- time, in seconds
setMaxScheduledTimeBetweenConsecutiveTrips
public void setMaxScheduledTimeBetweenConsecutiveTrips(int maxScheduledTimeBetweenConsecutiveTrips)
setup
@PostConstruct
public void setup()
createTripData
public List<BlockTripIndexData> createTripData(Iterable<BlockEntry> blocks)
- Specified by:
createTripData
in interface BlockIndexFactoryService
createLayoverData
public List<BlockLayoverIndexData> createLayoverData(Iterable<BlockEntry> blocks)
- Specified by:
createLayoverData
in interface BlockIndexFactoryService
createFrequencyTripData
public List<FrequencyBlockTripIndexData> createFrequencyTripData(Iterable<BlockEntry> blocks)
- Specified by:
createFrequencyTripData
in interface BlockIndexFactoryService
createTripIndices
public List<BlockTripIndex> createTripIndices(Iterable<BlockEntry> blocks)
- Specified by:
createTripIndices
in interface BlockIndexFactoryService
createLayoverIndices
public List<BlockLayoverIndex> createLayoverIndices(Iterable<BlockEntry> blocks)
- Specified by:
createLayoverIndices
in interface BlockIndexFactoryService
createFrequencyTripIndices
public List<FrequencyBlockTripIndex> createFrequencyTripIndices(Iterable<BlockEntry> blocks)
- Specified by:
createFrequencyTripIndices
in interface BlockIndexFactoryService
createSequenceIndices
public List<BlockSequenceIndex> createSequenceIndices(Iterable<BlockEntry> blocks)
- Specified by:
createSequenceIndices
in interface BlockIndexFactoryService
createTripIndexForGroupOfBlockTrips
public BlockTripIndex createTripIndexForGroupOfBlockTrips(List<BlockTripEntry> blocks)
- Specified by:
createTripIndexForGroupOfBlockTrips
in interface BlockIndexFactoryService
createLayoverIndexForGroupOfBlockTrips
public BlockLayoverIndex createLayoverIndexForGroupOfBlockTrips(List<BlockTripEntry> trips)
- Specified by:
createLayoverIndexForGroupOfBlockTrips
in interface BlockIndexFactoryService
createFrequencyIndexForTrips
public FrequencyBlockTripIndex createFrequencyIndexForTrips(List<BlockTripEntry> trips,
List<FrequencyEntry> frequencies)
- Specified by:
createFrequencyIndexForTrips
in interface BlockIndexFactoryService
createSequenceIndexForGroupOfBlockSequences
public BlockSequenceIndex createSequenceIndexForGroupOfBlockSequences(List<BlockSequence> sequences)
- Specified by:
createSequenceIndexForGroupOfBlockSequences
in interface BlockIndexFactoryService
Copyright © 2012 OneBusAway. All Rights Reserved.