Class 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.
  • Constructor Details

    • CleanUpJobPerformable

      public CleanUpJobPerformable()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setI18nService

      public void setI18nService(I18NService i18nService)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • perform

      public PerformResult perform(CleanUpCronJobModel cuCronJob)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: JobPerformable
      The execution body for a ServicelayerJob. 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 interface JobPerformable<CleanUpCronJobModel>
      Specified by:
      perform in class AbstractJobPerformable<CleanUpCronJobModel>
      Parameters:
      cuCronJob - the related CronJob in whose context the execution will be performed.
      Returns:
      a PerformResult that indicates whether the execution was successfully executed or not and has finished or not.