Interface ConsignmentPreFulfillmentStrategy
-
- All Known Implementing Classes:
ProcessConsignmentPreFulfillmentActionTest.FirstConsignmentPreFulfillmentStrategy,ProcessConsignmentPreFulfillmentActionTest.SecondConsignmentPreFulfillmentStrategy,ProcessConsignmentPreFulfillmentActionTest.ThirdConsignmentPreFulfillmentStrategy
public interface ConsignmentPreFulfillmentStrategyStrategy to be executed whenever the givenConsignmentModelis not being fulfilled by OMS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanProceedAfterPerform(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 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
-
-