Interface SourcingStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Boolean isTerminal()
      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 Detail

      • 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

        java.lang.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