Interface Allocator

All Known Implementing Classes:
FeignAllocator, InmemoryAllocator

public interface Allocator
A Allocator.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    allocate(String sku, org.openwms.core.units.api.Measurable quantity, List<String> sourceLocationGroupNames)
    Allocate a product with the sku in the given quantity.
  • Method Details

    • allocate

      List<AllocatedTransportUnit> allocate(String sku, org.openwms.core.units.api.Measurable quantity, List<String> sourceLocationGroupNames)
      Allocate a product with the sku in the given quantity.
      Parameters:
      sku - The Product's SKU
      quantity - The demanded quantity
      Returns:
      A list of available TransportUnits to allocate