Class RuleEngineJob

All Implemented Interfaces:
Serializable, Comparable

public class RuleEngineJob extends ServicelayerJob
Extending on the existing ServicelayerJob functionality by performing call to cronjob aware method RuleEngineJobPerformable.isPerformable(CronJobModel). This is required for a more dynamic decision making process whether a job can perform based on the state of the given cronjob
See Also:
  • Constructor Details

    • RuleEngineJob

      public RuleEngineJob()
  • Method Details

    • canPerform

      protected boolean canPerform(CronJob cronJob)
      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 ServicelayerJob
      Parameters:
      cronJob - the actual CronJob
      Returns:
      true if this Job is performable, false otherwise. de.hybris.platform.servicelayer.cronjob.CronJobService
    • getPerformable

      protected RuleEngineJobPerformable getPerformable()
      Overrides:
      getPerformable in class ServicelayerJob
    • getCronJob

      protected CronJobModel getCronJob(CronJob cronJob)