Package | Description |
---|---|
DeliveryStrategy |
Modifier and Type | Class and Description |
---|---|
class |
FairOccupationDelivery
Tend to give equally orders to all Couriers.
|
class |
FastestDelivery
Will give the order to the nearest courier.
|
Modifier and Type | Method and Description |
---|---|
StrategyDeliveryPolicy |
ContextDeliveryStrategy.getStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
ContextDeliveryStrategy.setStrategy(StrategyDeliveryPolicy strategy) |