Package org.openwms.tms.routing.routes
Interface RouteService
- All Known Implementing Classes:
RouteServiceImpl
public interface RouteService
A RouteService operates on
Route
s.- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeRoute
(String routeId) Changes the determined route due to error etc.boolean
routeExistsWithLocationId
(@NotBlank String locationId) Checks if aRoute
exists that uses aLocation
with the givenlocationId
.void
Send a RES_ telegram to the next location that is defined in the static Route Details.
-
Method Details
-
routeExistsWithLocationId
Checks if aRoute
exists that uses aLocation
with the givenlocationId
.- Parameters:
locationId
- The location ID to check for.- Returns:
true
if a route exists with the given location ID,false
otherwise.- Throws:
IllegalArgumentException
- if the parameter 'locationId' is blank.
-
sendToNextLocation
void sendToNextLocation()Send a RES_ telegram to the next location that is defined in the static Route Details. -
changeRoute
Changes the determined route due to error etc.- Parameters:
routeId
- The route id
-