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(since="ages",
forRemoval=true)
public class CleanUpJobPerformable
extends AbstractJobPerformable<CleanUpCronJobModel>
Deprecated, for removal: This API element is subject to removal in a future version.
Removes successfully finished cronjobs of a certain age (default behaviour). All parameters can be changed, see
CleanUpCronJobModel.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
flexibleSearchService, modelService, sessionService -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionperform(CleanUpCronJobModel cuCronJob) Deprecated, for removal: This API element is subject to removal in a future version.The execution body for aServicelayerJob.voidsetI18nService(I18NService i18nService) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionService
-
Constructor Details
-
CleanUpJobPerformable
public CleanUpJobPerformable()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setI18nService
Deprecated, for removal: This API element is subject to removal in a future version. -
perform
Deprecated, for removal: This API element is subject to removal in a future version.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.
-
MaintenanceCleanupStrategy/GenericMaintenanceJobPerformable