Class RuleEngineJob

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Constructor Detail

      • RuleEngineJob

        public RuleEngineJob()
    • Method Detail

      • 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