- All Implemented Interfaces:
org.apache.sling.event.jobs.consumer.JobExecutor
public class HistoryCleanUpTask
extends Object
implements org.apache.sling.event.jobs.consumer.JobExecutor
Task to clean up the history,
A clean up task can be configured with three properties:
- age : only jobs older than this amount of minutes are removed (default is two days)
- topic : only jobs with this topic are removed (default is no topic, meaning all jobs are removed)
The value should either be a string or an array of string
- state : only jobs in this state are removed (default is no state, meaning all jobs are removed)
The value should either be a string or an array of string. Allowed values are:
SUCCEEDED, STOPPED, GIVEN_UP, ERROR, DROPPED