public class OrderScheduleJob extends AbstractJobPerformable<OrderScheduleCronJobModel>
flexibleSearchService, modelService, sessionService| Constructor and Description |
|---|
OrderScheduleJob() |
| Modifier and Type | Method and Description |
|---|---|
PerformResult |
perform(OrderScheduleCronJobModel cronJob)
The execution body for a
ServicelayerJob. |
void |
setOrderUtility(OrderUtility orderUtility) |
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionServicepublic PerformResult perform(OrderScheduleCronJobModel cronJob)
JobPerformableServicelayerJob. Implement here your execution logic. It can be called
synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the
execution has reached end and if it was successful.perform in interface JobPerformable<OrderScheduleCronJobModel>perform in class AbstractJobPerformable<OrderScheduleCronJobModel>cronJob - the related CronJob in whose context the execution will be performed.PerformResult that indicates whether the execution was successfully executed
or not and has finished or not.public void setOrderUtility(OrderUtility orderUtility)
orderUtility - the orderUtility to setCopyright © 2018 SAP SE. All Rights Reserved.