Class RegionService
- java.lang.Object
-
- org.optaweb.vehiclerouting.service.region.RegionService
-
@Service public class RegionService extends Object
Provides information about the working region.
-
-
Constructor Summary
Constructors Constructor Description RegionService(RegionProperties regionProperties, Region region)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingBoxboundingBox()Bounding box of the working region.List<String>countryCodes()Country codes matching the working region.
-
-
-
Constructor Detail
-
RegionService
@Autowired RegionService(RegionProperties regionProperties, Region region)
-
-
Method Detail
-
countryCodes
public List<String> countryCodes()
Country codes matching the working region.- Returns:
- country codes (never
null)
-
boundingBox
public BoundingBox boundingBox()
Bounding box of the working region.- Returns:
- bounding box of the working region.
-
-