public class DeleteConvertedMediasJob extends Object
| Constructor and Description |
|---|
DeleteConvertedMediasJob() |
| Modifier and Type | Method and Description |
|---|---|
MediaConversionJobDao |
getDao() |
ModelService |
getModelService() |
boolean |
isAbortable()
Checks whether the execution is implemented abortable.
|
boolean |
isPerformable()
Checks whether the execution can be performed at the moment.
|
PerformResult |
perform(T cronJob)
The execution body for a
ServicelayerJob. |
void |
setDao(MediaConversionJobDao dao) |
void |
setModelService(ModelService modelService) |
public boolean isPerformable()
JobPerformablepublic MediaConversionJobDao getDao()
public void setDao(MediaConversionJobDao dao)
dao - the dao to setpublic PerformResult perform(T 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<T extends AbstractMediaCronJobModel>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 boolean isAbortable()
JobPerformableisAbortable in interface JobPerformable<T extends AbstractMediaCronJobModel>public ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2017 SAP SE. All Rights Reserved.