Interface JobPerformable<T extends CronJobModel>
-
- All Known Subinterfaces:
RuleEngineJobPerformable<T>
- All Known Implementing Classes:
AbstractBackofficeSolrIndexerJob,AbstractChangeProcessorJobPerformable,AbstractCouponNotificationJob,AbstractIndexerJob,AbstractJobPerformable,AbstractMaintenanceJobPerformable,AbstractNotificationJob,AbstractRuleEngineJob,AbstractStockLevelStatusJob,AfterRetentionCleanupJobPerformable,AggregateRecoImpressionsJob,B2BAcceleratorCartToOrderJob,BackofficeSolrIndexerDeleteJob,BackofficeSolrIndexerUpdateJob,C4CSyncJobPerformable,CartRemovalJob,CartToOrderJob,ChangeDetectionJobPerformable,CleanUpFraudOrderJob,CleanUpJobPerformable,CleanUpProcessTaskLogPerformable,CleanUpVerificationCode,CompareCatalogVersionsJobPerformable,CompositeJobPerformable,ConsumeAllChangesJobPerformable,CouponNotificationJob,CreateAuditReportJobPerformable,CxDefaultPersonalizationCalculationJob,CxUpdateSegmentsJob,DataLoaderJob,DataLoaderStopJob,DataSupplierJobPerformable,DefaultCisFraudReportJob,DefaultCisNotifyCustomerInactiveOrdersJob,DefaultExportDataJobPerformable,DefaultMerchCategoryExporter,DefaultUploadDataJobPerformable,DeleteConvertedMediasJob,DeleteDocumentFileJobPerformable,DynamicMaintenanceJobPerformable,E2EChangeAnalysisFilesJob,ExcelImportJobPerformable,ExpiredInterestsCleanUpJob,ExtractMediaMetaDataJob,GenerateOrgUnitPathsJob,GenericMaintenanceJobPerformable,GeocodingJob,KymaUpdateConsumedDestinationsJobPerformable,LDIFGroupImportJobPerformable,LDIFImportJobPerformable,MediaConversionJob,MoveMediaJobPerformable,OldCartRemovalJob,OldPaymentSubscriptionResultRemovalJob,OrderCancelRepairJob,OrderExchangeRepairJob,OrderScheduleJob,OrderStatusUpdateCleanerJob,OrderTemplateToOrderJob,OutboundSyncCronJobPerformable,PersistenceCleanUpJob,ProductExpressUpdateCleanerJob,QuoteExpiredJobPerformable,QuoteToExpireSoonJobPerformable,RemoveCatalogVersionJobPerformable,RemoveItemsJobPerformable,ResetMaxOrderQuantityJob,RuleEngineAllModulesInitJobPerformable,RuleEngineArchiveJobPerformable,RuleEngineCompilePublishJobPerformable,RuleEngineModuleInitJobPerformable,RuleEngineModuleSyncJobPerformable,RuleEngineUndeployJobPerformable,SapOrderExchangeOmsCancelRepairCronJob,SapOrderExchangeOmsCancelRepairCronJob,SapRecommendationCleanupCronJob,SAPRevenueCloudCustomerImportJob,SapRevenueCloudProductImportJob,ScriptChangeConsumptionJobPerformable,ScriptingJobPerformable,SendOfferRecoInteractionJob,SendRecoClickthroughJob,SendRecoImpressionsJob,SessionEventsRemovalJob,SetMaxOrderQuantityJob,SiteMapMediaJob,SolrExtIndexerJob,SolrIndexerHotUpdateJob,SolrIndexerJob,SolrQueryStatisticsCollectorJob,StockLevelStatusJob,UncollectedOrdersJob,VendorOrderExportJob,VendorRatingCalculationJob,Y2YSyncMasterJobPerformable
public interface JobPerformable<T extends CronJobModel>Marks a class as performable by aServicelayerJobitem. The implementing class has to be registered at global spring context. At the job item itself only the bean id is configured.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAbortable()Checks whether the execution is implemented abortable.booleanisPerformable()Checks whether the execution can be performed at the moment.PerformResultperform(T cronJob)The execution body for aServicelayerJob.
-
-
-
Method Detail
-
perform
PerformResult perform(T cronJob)
The execution body for aServicelayerJob. 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.- Parameters:
cronJob- the related CronJob in whose context the execution will be performed.- Returns:
- a
PerformResultthat indicates whether theexecutionwas successfully executed or not and has finished or not.
-
isPerformable
boolean isPerformable()
Checks whether the execution can be performed at the moment.- Returns:
- true if the execution is ready
-
isAbortable
boolean isAbortable()
Checks whether the execution is implemented abortable.- Returns:
- true if the execution can be aborted
-
-