Interface SourcingStrategy
- All Known Implementing Classes:
AbstractSourcingStrategy,NoRestrictionsStrategy,NoSplittingStrategy,PickupStrategy
public interface SourcingStrategy
Strategy to apply for the sourcing process.
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether this sourcing strategy will allow other sourcing strategies to attempt to source the same order entries.voidsource(SourcingContext sourcingContext) Determine which order entries/order item quantities should be sourced from which sourcing locations.
-
Method Details
-
source
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
-