public class UserGroupSynchronizationTaskHandler extends Object implements TaskHandler
| Modifier and Type | Field and Description |
|---|---|
static Object |
LOCK
Lock which can be used to avoid multiple synchronization tasks running in parallel.
|
| Constructor and Description |
|---|
UserGroupSynchronizationTaskHandler() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getRescheduleDate(Date now)
Return the time a task should run again.
|
void |
run(TaskTO task)
This is the main job.
|
public static final Object LOCK
public Date getRescheduleDate(Date now)
getRescheduleDate in interface TaskHandlernow - The date to use for any calculations.public void run(TaskTO task) throws TaskHandlerException
run in interface TaskHandlertask - Task with additional parameters.TaskHandlerException - Exception.Copyright © 2019 Communote team. All rights reserved.