org.opentripplanner.gtfs.graphbuilder.GtfsFeedParametersBuilder 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
package org.opentripplanner.gtfs.graphbuilder;
import java.net.URI;
/**
* Configure a GTFS feed.
*/
public class GtfsFeedParametersBuilder {
private URI source;
private String feedId;
public GtfsFeedParametersBuilder withFeedId(String feedId) {
this.feedId = feedId;
return this;
}
String feedId() {
return feedId;
}
public GtfsFeedParametersBuilder withSource(URI source) {
this.source = source;
return this;
}
URI source() {
return source;
}
public GtfsFeedParameters build() {
return new GtfsFeedParameters(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy