Class StifTask
- java.lang.Object
-
- org.onebusaway.transit_data_federation.bundle.tasks.stif.StifTask
-
-
Constructor Summary
Constructors Constructor Description StifTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T,U>
voidaddToMapSet(Map<T,Set<U>> mapList, T key, U value)An extremely common pattern: add an item to a set in a hash value, creating that set if necessary; based on code from OTP with permission of copyright holder (OpenPlans).voidloadStif(File path, StifTripLoader loader)voidrun()voidsetCSVLogger(MultiCSVLogger logger)voidsetFallBackToStifBlocks(boolean fallBackToStifBlocks)voidsetGtfsMutableRelationalDao(org.onebusaway.gtfs.services.GtfsMutableRelationalDao gtfsMutableRelationalDao)voidsetLogger(MultiCSVLogger logger)voidsetNotInServiceDsc(String notInServiceDsc)voidsetNotInServiceDscPath(File notInServiceDscPath)voidsetNotInServiceDscs(List<String> notInServiceDscs)voidsetStifPath(File path)The path of the directory containing STIF files to processvoidsetStifPaths(List<File> paths)voidsetStifTripLoader(StifTripLoader loader)voidsetTripToDSCOverridePath(String path)booleanusesFallBackToStifBlocks()Whether blocks should come be computed from runs (true) or read from the STIF (false)
-
-
-
Method Detail
-
setLogger
@Autowired public void setLogger(MultiCSVLogger logger)
-
setGtfsMutableRelationalDao
@Autowired public void setGtfsMutableRelationalDao(org.onebusaway.gtfs.services.GtfsMutableRelationalDao gtfsMutableRelationalDao)
-
setStifPath
public void setStifPath(File path)
The path of the directory containing STIF files to process
-
setNotInServiceDsc
public void setNotInServiceDsc(String notInServiceDsc)
-
setTripToDSCOverridePath
public void setTripToDSCOverridePath(String path)
-
setNotInServiceDscPath
public void setNotInServiceDscPath(File notInServiceDscPath)
-
addToMapSet
public static final <T,U> void addToMapSet(Map<T,Set<U>> mapList, T key, U value)
An extremely common pattern: add an item to a set in a hash value, creating that set if necessary; based on code from OTP with permission of copyright holder (OpenPlans).
-
loadStif
public void loadStif(File path, StifTripLoader loader)
-
usesFallBackToStifBlocks
public boolean usesFallBackToStifBlocks()
Whether blocks should come be computed from runs (true) or read from the STIF (false)- Returns:
-
setFallBackToStifBlocks
public void setFallBackToStifBlocks(boolean fallBackToStifBlocks)
-
setStifTripLoader
public void setStifTripLoader(StifTripLoader loader)
-
setCSVLogger
public void setCSVLogger(MultiCSVLogger logger)
-
-