Package org.openwms.wms.shipping.spi
Class InmemoryTransportUnitAllocator
java.lang.Object
org.openwms.wms.shipping.spi.InmemoryTransportUnitAllocator
- All Implemented Interfaces:
TransportUnitAllocator
@Profile("!DISTRIBUTED")
@Component
class InmemoryTransportUnitAllocator
extends Object
implements TransportUnitAllocator
A InmemoryTransportUnitAllocator does not force any remote calls and always returns fixed data.
- Author:
- Heiko Scherrer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InmemoryTransportUnitAllocator
InmemoryTransportUnitAllocator()
-
-
Method Details
-
allocate
public List<AllocatedTransportUnit> allocate(List<org.openwms.core.lang.Triple<String, Object, Class<?>>> attributes, List<String> sourceLocationGroupNames) Allocate a product with thesku
in the givenquantity
. Always return an empty list- Specified by:
allocate
in interfaceTransportUnitAllocator
- Parameters:
attributes
- The search attributessourceLocationGroupNames
- A list of LocationGroup names where to allocate TransportUnits in- Returns:
- A list of available TransportUnits to allocate
-