Class ProductLoadTask

java.lang.Object
org.variantsync.boosting.product.ProductLoadTask
All Implemented Interfaces:
Callable<ProductLoadTask.LoadResult>

public class ProductLoadTask extends Object implements Callable<ProductLoadTask.LoadResult>
A Callable task that loads a product from a given file path. The task reads the product object from the file using ObjectInputStream and returns a LoadResult object.
  • Constructor Details

    • ProductLoadTask

      public ProductLoadTask(Path productPath)
      Constructs a ProductLoadTask with the given product file path. Parses the product ID from the file name.
      Parameters:
      productPath - The file path of the product to load
  • Method Details