public class ExecuteCronJobTaskRunner extends Object implements TaskRunner<TaskModel>
CronJobService.performCronJob(CronJobModel)
when that CronJob was actually configured to run on another platform instance ( using node group or node id ).| Constructor and Description |
|---|
ExecuteCronJobTaskRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(TaskService taskService,
TaskModel task,
Throwable error) |
void |
run(TaskService taskService,
TaskModel task) |
void |
setCronJobService(CronJobService cronJobService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitLoggingCtx, isLoggingSupported, stopLoggingCtxpublic static String RUNNER_ID
public void run(TaskService taskService, TaskModel task) throws RetryLaterException
run in interface TaskRunner<TaskModel>RetryLaterExceptionpublic void handleError(TaskService taskService, TaskModel task, Throwable error)
handleError in interface TaskRunner<TaskModel>public void setCronJobService(CronJobService cronJobService)
Copyright © 2017 SAP SE. All Rights Reserved.