Package org.openwms.wms.movements.spi
Class DefaultValidatorsImpl
java.lang.Object
org.openwms.wms.movements.spi.DefaultValidatorsImpl
- All Implemented Interfaces:
Validators
A DefaultValidatorsImpl is used to instantiate concrete Spring Beans from the interface.
- Author:
- Heiko Scherrer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultValidatorsImpl
DefaultValidatorsImpl()
-
-
Method Details
-
onMove
public Movement onMove(@NotNull @NotNull Movement existingMovement, @NotBlank @NotBlank String location, @NotNull @NotNull Movement movement) AnexistingMovement
to the newlocation
must be validated if it is allowed to be moved. Just to satisfy the default interface and have a concrete bean instantiation here.- Specified by:
onMove
in interfaceValidators
- Parameters:
existingMovement
- The persisted instance of the Movementlocation
- The location to examine for capability to take this Movementmovement
- Contains all the data where to move to- Returns:
- The updated Movement information
-