com.graphhopper.routing.ev.HazmatWater Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphhopper-core Show documentation
Show all versions of graphhopper-core Show documentation
GraphHopper is a fast and memory efficient Java road routing engine
working seamlessly with OpenStreetMap data.
package com.graphhopper.routing.ev;
import com.graphhopper.util.Helper;
/**
* Defines general restrictions for the transport of goods through water protection areas.
* If not tagged it will be {@link #YES}
*/
public enum HazmatWater {
YES, PERMISSIVE, NO;
public static final String KEY = "hazmat_water";
public static EnumEncodedValue create() {
return new EnumEncodedValue<>(KEY, HazmatWater.class);
}
@Override
public String toString() {
return Helper.toLowerCase(super.toString());
}
}