Interface SourcingStrategy

All Known Implementing Classes:
AbstractSourcingStrategy, NoRestrictionsStrategy, NoSplittingStrategy, PickupStrategy

public interface SourcingStrategy
Strategy to apply for the sourcing process.
  • Method Summary

    Modifier and Type
    Method
    Description
    Indicates whether this sourcing strategy will allow other sourcing strategies to attempt to source the same order entries.
    void
    source(SourcingContext sourcingContext)
    Determine which order entries/order item quantities should be sourced from which sourcing locations.
  • Method Details

    • source

      void source(SourcingContext sourcingContext)
      Determine which order entries/order item quantities should be sourced from which sourcing locations.
      Parameters:
      sourcingContext - - the sourcing context; cannot be null
    • isTerminal

      Boolean isTerminal()
      Indicates whether this sourcing strategy will allow other sourcing strategies to attempt to source the same order entries.
      Returns:
      true if the strategy is terminal; false otherwise