Class ProcessConsignmentPreFulfillmentActionTest.FirstConsignmentPreFulfillmentStrategy
- java.lang.Object
-
- de.hybris.platform.yacceleratorordermanagement.actions.consignment.ProcessConsignmentPreFulfillmentActionTest.FirstConsignmentPreFulfillmentStrategy
-
- All Implemented Interfaces:
ConsignmentPreFulfillmentStrategy
- Enclosing class:
- ProcessConsignmentPreFulfillmentActionTest
protected static class ProcessConsignmentPreFulfillmentActionTest.FirstConsignmentPreFulfillmentStrategy extends java.lang.Object implements ConsignmentPreFulfillmentStrategy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFirstConsignmentPreFulfillmentStrategy()
-
Method Summary
All Methods Instance Methods Concrete 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
public void perform(ConsignmentModel consignment)
Description copied from interface:ConsignmentPreFulfillmentStrategyExecutes before the fulfillment process of the external system begins- Specified by:
performin interfaceConsignmentPreFulfillmentStrategy- Parameters:
consignment- theConsignmentModel
-
canProceedAfterPerform
public boolean canProceedAfterPerform(ConsignmentModel consignment)
Description copied from interface:ConsignmentPreFulfillmentStrategyDecides if it execution goes to the next strategy in the list or if it goes to wait step- Specified by:
canProceedAfterPerformin interfaceConsignmentPreFulfillmentStrategy- Parameters:
consignment- theConsignmentModel- Returns:
- false, if process have to wait or true if execution can move further
-
-