Package de.hybris.platform.jobs
Class CleanUpJobPerformable
- java.lang.Object
-
- de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable<CleanUpCronJobModel>
-
- de.hybris.platform.jobs.CleanUpJobPerformable
-
- All Implemented Interfaces:
JobPerformable<CleanUpCronJobModel>
@Deprecated public class CleanUpJobPerformable extends AbstractJobPerformable<CleanUpCronJobModel>
Deprecated.since ages - please use theMaintenanceCleanupStrategy/GenericMaintenanceJobPerformableRemoves successfully finished cronjobs of a certain age (default behaviour). All parameters can be changed, seeCleanUpCronJobModel.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
flexibleSearchService, modelService, sessionService
-
-
Constructor Summary
Constructors Constructor Description CleanUpJobPerformable()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PerformResultperform(CleanUpCronJobModel cuCronJob)Deprecated.The execution body for aServicelayerJob.voidsetI18nService(I18NService i18nService)Deprecated.-
Methods inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionService
-
-
-
-
Method Detail
-
setI18nService
public void setI18nService(I18NService i18nService)
Deprecated.
-
perform
public PerformResult perform(CleanUpCronJobModel cuCronJob)
Deprecated.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<CleanUpCronJobModel>- Specified by:
performin classAbstractJobPerformable<CleanUpCronJobModel>- Parameters:
cuCronJob- 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.
-
-