Interface ConsignmentPreFulfillmentStrategy
-
- All Known Implementing Classes:
ProcessConsignmentPreFulfillmentActionTest.FirstConsignmentPreFulfillmentStrategy
,ProcessConsignmentPreFulfillmentActionTest.SecondConsignmentPreFulfillmentStrategy
,ProcessConsignmentPreFulfillmentActionTest.ThirdConsignmentPreFulfillmentStrategy
,SapConsignmentPreFulfillmentStrategy
public interface ConsignmentPreFulfillmentStrategy
Strategy to be executed whenever the givenConsignmentModel
is not being fulfilled by OMS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canProceedAfterPerform(ConsignmentModel consignment)
Decides if it execution goes to the next strategy in the list or if it goes to wait stepvoid
perform(ConsignmentModel consignment)
Executes before the fulfillment process of the external system begins
-
-
-
Method Detail
-
perform
void perform(ConsignmentModel consignment)
Executes before the fulfillment process of the external system begins- Parameters:
consignment
- theConsignmentModel
-
canProceedAfterPerform
boolean canProceedAfterPerform(ConsignmentModel consignment)
Decides if it execution goes to the next strategy in the list or if it goes to wait step- Parameters:
consignment
- theConsignmentModel
- Returns:
- false, if process have to wait or true if execution can move further
-
-