public class ExecuteCronJobTaskRunner extends java.lang.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 ).| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RUNNER_ID |
| Constructor and Description |
|---|
ExecuteCronJobTaskRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(TaskService taskService,
TaskModel task,
java.lang.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 void run(TaskService taskService, TaskModel task) throws RetryLaterException
run in interface TaskRunner<TaskModel>RetryLaterExceptionpublic void handleError(TaskService taskService, TaskModel task, java.lang.Throwable error)
handleError in interface TaskRunner<TaskModel>public void setCronJobService(CronJobService cronJobService)
Copyright © 2018 SAP SE. All Rights Reserved.