Interface GenericAllocator

All Known Implementing Classes:
SimpleGenericAllocator

public interface GenericAllocator
A GenericAllocator is able to find Allocations based on an arbitrary set of key-value pairs.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    allocate(@NotNull List<org.openwms.core.lang.Triple<String,Object,Class<?>>> searchAttributes, List<String> sourceLocationGroupNames)
    Search and allocate based on arbitrary search attributes.
  • Method Details

    • allocate

      @NotNull @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.
      Parameters:
      searchAttributes - The attributes to search for
      sourceLocationGroupNames - A list of LocationGroup names to search the material in
      Returns:
      An array of available Allocations