Package de.hybris.platform.catalog.job
Class CompareCatalogVersionsJobPerformable
java.lang.Object
de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable<CompareCatalogVersionsCronJobModel>
de.hybris.platform.catalog.job.CompareCatalogVersionsJobPerformable
- All Implemented Interfaces:
JobPerformable<CompareCatalogVersionsCronJobModel>
public class CompareCatalogVersionsJobPerformable
extends AbstractJobPerformable<CompareCatalogVersionsCronJobModel>
JobPerformable implementation for comparing two catalog versions.- Since:
- 4.3
- Spring Bean ID:
- compareCatalogVersionsJobPerformable
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
flexibleSearchService, modelService, sessionService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionperform(CompareCatalogVersionsCronJobModel cronJobModel) The execution body for aServicelayerJob.voidsetCompareSteps(List<CatalogVersionDifferenceFinder> compareSteps) Methods inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionService
-
Constructor Details
-
CompareCatalogVersionsJobPerformable
public CompareCatalogVersionsJobPerformable()
-
-
Method Details
-
setCompareSteps
-
perform
Description copied from interface:JobPerformableThe execution body for aServicelayerJob. Implement here your execution logic. It can be called synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the execution has reached end and if it was successful.- Specified by:
performin interfaceJobPerformable<CompareCatalogVersionsCronJobModel>- Specified by:
performin classAbstractJobPerformable<CompareCatalogVersionsCronJobModel>- Parameters:
cronJobModel- the related CronJob in whose context the execution will be performed.- Returns:
- a
PerformResultthat indicates whether theexecutionwas successfully executed or not and has finished or not.
-