Package org.variantsync.boosting.product
Class ProductSaveTask
java.lang.Object
org.variantsync.boosting.product.ProductSaveTask
- All Implemented Interfaces:
Runnable
A class representing a task to save a product to a file.
This class implements the Runnable interface to be executed as a thread.
-
Constructor Summary
ConstructorsConstructorDescriptionProductSaveTask
(Variant variant, String folderName, int id) Constructor for ProductSaveTask. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Reset the processed count to zero.void
run()
Saves the product to a file.
-
Constructor Details
-
ProductSaveTask
Constructor for ProductSaveTask.- Parameters:
variant
- The product to be saved.folderName
- The name of the folder where the product will be saved.id
- The unique identifier of the product.
-
-
Method Details