Class PurgeHistoryTask

  • All Implemented Interfaces:
    org.apache.sling.event.jobs.consumer.JobExecutor

    public class PurgeHistoryTask
    extends Object
    implements org.apache.sling.event.jobs.consumer.JobExecutor
    Purges old entries from the history.
    Author:
    Roland Gruber
    • Constructor Detail

      • PurgeHistoryTask

        public PurgeHistoryTask()
    • Method Detail

      • activate

        public void activate​(PurgeHistoryConfiguration config)
        Activates the service.
        Parameters:
        config - configuration
      • process

        public org.apache.sling.event.jobs.consumer.JobExecutionResult process​(org.apache.sling.event.jobs.Job job,
                                                                               org.apache.sling.event.jobs.consumer.JobExecutionContext context)
        Specified by:
        process in interface org.apache.sling.event.jobs.consumer.JobExecutor