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
/GenericMaintenanceJobPerformable
Removes 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 PerformResult
perform(CleanUpCronJobModel cuCronJob)
Deprecated.The execution body for aServicelayerJob
.void
setI18nService(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:JobPerformable
The 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:
perform
in interfaceJobPerformable<CleanUpCronJobModel>
- Specified by:
perform
in classAbstractJobPerformable<CleanUpCronJobModel>
- Parameters:
cuCronJob
- the related CronJob in whose context the execution will be performed.- Returns:
- a
PerformResult
that indicates whether theexecution
was successfully executed or not and has finished or not.
-
-