public class CleanUpProcessTaskLogPerformable extends AbstractJobPerformable<CronJobModel> implements TypeAwareJobPerformable
flexibleSearchService, modelService, sessionService| Constructor and Description |
|---|
CleanUpProcessTaskLogPerformable() |
| Modifier and Type | Method and Description |
|---|---|
FlexibleSearchQuery |
createFetchQuery(ProcessTaskLogMaintenanceJobModel model) |
java.lang.String |
getType()
Must return an existing subtype of
ServicelayerJobModel as String. |
PerformResult |
perform(CronJobModel cronJob)
The execution body for a
ServicelayerJob. |
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefaultJobpublic FlexibleSearchQuery createFetchQuery(ProcessTaskLogMaintenanceJobModel model)
public PerformResult perform(CronJobModel 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<CronJobModel>perform in class AbstractJobPerformable<CronJobModel>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 java.lang.String getType()
TypeAwareJobPerformableServicelayerJobModel as String.getType in interface TypeAwareJobPerformableCopyright © 2018 SAP SE. All Rights Reserved.