public class TrashcanCleanerJob
extends org.alfresco.schedule.AbstractScheduledLockedJob
QuartzJobBean implemented through extension of the
AbstractScheduledLockedJob.
trashcan.deleteBatchCount: It will set how many nodes in trashcan to
delete at maximum during clean execution. By default the value is
1000. trashcan.daysToKeep: The number of days to keep a document in
trashcan since its deletion. Any node archived less than the value specified
won't be deleted during clean execution. If the value is 0 or negative
any archived will be eligible for deletion (default behavior if no positive
value is explicitly set).| Constructor and Description |
|---|
TrashcanCleanerJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeJob(org.quartz.JobExecutionContext jobContext)
The implementation of the
AbstractScheduledLockedJob abstract executeJob method. |
public void executeJob(org.quartz.JobExecutionContext jobContext)
throws org.quartz.JobExecutionException
AbstractScheduledLockedJob abstract executeJob method.executeJob in class org.alfresco.schedule.AbstractScheduledLockedJoborg.quartz.JobExecutionExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.