Interface SourcingStrategy
-
- All Known Implementing Classes:
AbstractSourcingStrategy,NoRestrictionsStrategy,NoSplittingStrategy,PickupStrategy
public interface SourcingStrategyStrategy to apply for the sourcing process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.BooleanisTerminal()Indicates 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 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
-
-