
org.opentripplanner.ext.vehicleparking.sirifm.SiriFmUpdaterParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.ext.vehicleparking.sirifm;
import static org.opentripplanner.updater.vehicle_parking.VehicleParkingSourceType.SIRI_FM;
import static org.opentripplanner.updater.vehicle_parking.VehicleParkingUpdaterParameters.UpdateType.AVAILABILITY_ONLY;
import java.net.URI;
import java.time.Duration;
import org.opentripplanner.ext.vehicleparking.noi.NoiUpdater;
import org.opentripplanner.updater.spi.HttpHeaders;
import org.opentripplanner.updater.vehicle_parking.VehicleParkingSourceType;
import org.opentripplanner.updater.vehicle_parking.VehicleParkingUpdaterParameters;
/**
* Class that extends {@link VehicleParkingUpdaterParameters} with parameters required by {@link
* NoiUpdater}.
*/
public record SiriFmUpdaterParameters(
String configRef,
URI url,
String feedId,
Duration frequency,
HttpHeaders httpHeaders
)
implements VehicleParkingUpdaterParameters {
@Override
public VehicleParkingSourceType sourceType() {
return SIRI_FM;
}
@Override
public UpdateType updateType() {
return AVAILABILITY_ONLY;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy