public class DeleteOrphanedAttachmentsTaskHandler extends ClientTaskHandler
Constructor and Description |
---|
DeleteOrphanedAttachmentsTaskHandler() |
Modifier and Type | Method and Description |
---|---|
Date |
getRescheduleDate(Date now)
Return the time a task should run again.
|
protected void |
runOnClient(TaskTO task)
Is called for each client
|
checkRunOnClient, checkRunTask, run
public DeleteOrphanedAttachmentsTaskHandler()
public Date getRescheduleDate(Date now)
TaskHandler
now
- The date to use for any calculations.protected void runOnClient(TaskTO task) throws Exception
runOnClient
in class ClientTaskHandler
task
- the taskException
- in case something goes wrongCopyright © 2019 Communote team. All rights reserved.