Interface ConsignmentPreFulfillmentStrategy
- All Known Implementing Classes:
ProcessConsignmentPreFulfillmentActionTest.FirstConsignmentPreFulfillmentStrategy,ProcessConsignmentPreFulfillmentActionTest.SecondConsignmentPreFulfillmentStrategy,ProcessConsignmentPreFulfillmentActionTest.ThirdConsignmentPreFulfillmentStrategy
public interface ConsignmentPreFulfillmentStrategy
Strategy to be executed whenever the given
ConsignmentModel is not being fulfilled by OMS-
Method Summary
Modifier and TypeMethodDescriptionbooleancanProceedAfterPerform(ConsignmentModel consignment) Decides if it execution goes to the next strategy in the list or if it goes to wait stepvoidperform(ConsignmentModel consignment) Executes before the fulfillment process of the external system begins
-
Method Details
-
perform
Executes before the fulfillment process of the external system begins- Parameters:
consignment- theConsignmentModel
-
canProceedAfterPerform
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
-