All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.ext.vehicleparking.hslpark.HslParkUpdaterParameters Maven / Gradle / Ivy

package org.opentripplanner.ext.vehicleparking.hslpark;

import org.opentripplanner.updater.DataSourceType;
import org.opentripplanner.updater.vehicle_parking.VehicleParkingUpdaterParameters;

/**
 * Class that extends {@link VehicleParkingUpdaterParameters} with parameters required by {@link
 * HslParkUpdater}.
 */
public class HslParkUpdaterParameters extends VehicleParkingUpdaterParameters {

    private final int facilitiesFrequencySec;
    private final String facilitiesUrl;
    private final String feedId;
    private final String utilizationsUrl;

    public HslParkUpdaterParameters(
            String configRef,
            int facilitiesFrequencySec,
            String facilitiesUrl,
            String feedId,
            DataSourceType sourceType,
            int utilizationsFrequencySec,
            String utilizationsUrl

    ) {
        super(configRef, utilizationsFrequencySec, sourceType);
        this.facilitiesFrequencySec = facilitiesFrequencySec;
        this.facilitiesUrl = facilitiesUrl;
        this.feedId = feedId;
        this.utilizationsUrl = utilizationsUrl;
    }

    public int getFacilitiesFrequencySec() {
        return facilitiesFrequencySec;
    }

    public String getFeedId() {
        return feedId;
    }

    public String getFacilitiesUrl() {
        return facilitiesUrl;
    }

    public String getUtilizationsUrl() {
        return utilizationsUrl;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy