Class CompositeJob

All Implemented Interfaces:
Serializable, Comparable

@Deprecated(since="ages", forRemoval=false) public class CompositeJob extends GeneratedCompositeJob
Deprecated.
since ages - useCompositeJobPerformable instead.
See Also:
  • Constructor Details

    • CompositeJob

      public CompositeJob()
      Deprecated.
  • Method Details

    • performCronJob

      protected CronJob.CronJobResult performCronJob(CronJob cronJob) throws AbortCronJobException
      Deprecated.
      Description copied from class: Job
      You have to implement this method in your Job. Here you can execute the job. You have to return a CronJobResult that indicates whether the Job was successfully executed or not.
      Specified by:
      performCronJob in class Job
      Parameters:
      cronJob - the CronJob to execute
      Returns:
      a CronJobResult that indicates whether the Job was successfully executed or not.

      Throws:
      AbortCronJobException
      See Also:
    • canPerform

      protected boolean canPerform(CronJob cronJob)
      Deprecated.
      Description copied from class: Job
      This method is called before a Job is performed. If you override this method you can check the things that are necessary for the performing of your Job. Default value is true.
      Overrides:
      canPerform in class Job
      Parameters:
      cronJob - the actual CronJob
      Returns:
      true if this Job is performable, false otherwise. de.hybris.platform.servicelayer.cronjob.CronJobService