Class SimpleGenericAllocator
java.lang.Object
org.openwms.common.transport.allocation.spi.SimpleGenericAllocator
- All Implemented Interfaces:
 GenericAllocator
A SimpleGenericAllocator.
- Author:
 - Heiko Scherrer
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final ReservationServiceprivate final TransportUnitService - 
Constructor Summary
ConstructorsConstructorDescriptionSimpleGenericAllocator(TransportUnitService transportUnitService, ReservationService reservationService)  - 
Method Summary
 
- 
Field Details
- 
ALLOCATION_LOGGER
private static final org.slf4j.Logger ALLOCATION_LOGGER - 
transportUnitService
 - 
reservationService
 
 - 
 - 
Constructor Details
- 
SimpleGenericAllocator
SimpleGenericAllocator(TransportUnitService transportUnitService, ReservationService reservationService)  
 - 
 - 
Method Details
- 
allocate
@Measured @NotNull public @NotNull List<TransportUnitAllocation> allocate(@NotNull @NotNull List<org.openwms.core.lang.Triple<String, Object, Class<?>>> searchAttributes, List<String> sourceLocationGroupNames) Search and allocate based on arbitrary search attributes.- Specified by:
 allocatein interfaceGenericAllocator- Parameters:
 searchAttributes- The attributes to search forsourceLocationGroupNames- A list of LocationGroup names to search the material in- Returns:
 - An array of available Allocations
 
 
 -