
org.opentripplanner.apis.transmodel.mapping.preferences.WalkPreferencesMapper 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.apis.transmodel.mapping.preferences;
import org.opentripplanner.apis.transmodel.support.DataFetcherDecorator;
import org.opentripplanner.routing.api.request.preference.WalkPreferences;
public class WalkPreferencesMapper {
public static void mapWalkPreferences(
WalkPreferences.Builder walk,
DataFetcherDecorator callWith
) {
// This is not part of API
// callWith.argument("walkBoardCost", walk::withBoardCost);
callWith.argument("walkSpeed", walk::withSpeed);
callWith.argument("walkReluctance", walk::withReluctance);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy