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 Type
    Method
    Description
    boolean
    Decides if it execution goes to the next strategy in the list or if it goes to wait step
    void
    Executes before the fulfillment process of the external system begins
  • Method Details

    • perform

      void perform(ConsignmentModel consignment)
      Executes before the fulfillment process of the external system begins
      Parameters:
      consignment - the ConsignmentModel
    • 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 - the ConsignmentModel
      Returns:
      false, if process have to wait or true if execution can move further