Class E2EChangeAnalysisFilesJob
- java.lang.Object
-
- de.hybris.e2e.hybrisrootcauseanalysis.changeanalysis.job.E2EChangeAnalysisFilesJob
-
- All Implemented Interfaces:
JobPerformable<CronJobModel>
public class E2EChangeAnalysisFilesJob extends java.lang.Object implements JobPerformable<CronJobModel>
-
-
Constructor Summary
Constructors Constructor Description E2EChangeAnalysisFilesJob()
-
Method Summary
All Methods Instance Methods Concrete 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(CronJobModel model)The execution body for aServicelayerJob.voidsetChangesPropertiesList(java.util.List<E2EChangesPropertiesService> changesPropertiesList)voidsetChangesXmlList(java.util.List<E2EChangesXmlService> changesXmlList)voidsetPropertiesFileService(E2EPropertiesFileService propertiesFileService)voidsetXmlFileService(E2EXmlFileService xmlFileService)
-
-
-
Method Detail
-
isAbortable
public boolean isAbortable()
Description copied from interface:JobPerformableChecks whether the execution is implemented abortable.- Specified by:
isAbortablein interfaceJobPerformable<CronJobModel>- Returns:
- true if the execution can be aborted
-
isPerformable
public boolean isPerformable()
Description copied from interface:JobPerformableChecks whether the execution can be performed at the moment.- Specified by:
isPerformablein interfaceJobPerformable<CronJobModel>- Returns:
- true if the execution is ready
-
perform
public PerformResult perform(CronJobModel model)
Description copied from interface:JobPerformableThe 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.- Specified by:
performin interfaceJobPerformable<CronJobModel>- Parameters:
model- 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.
-
setPropertiesFileService
public void setPropertiesFileService(E2EPropertiesFileService propertiesFileService)
- Parameters:
propertiesFileService- the propertiesFileService to set
-
setXmlFileService
public void setXmlFileService(E2EXmlFileService xmlFileService)
- Parameters:
xmlFileService- the xmlFileService to set
-
setChangesPropertiesList
public void setChangesPropertiesList(java.util.List<E2EChangesPropertiesService> changesPropertiesList)
- Parameters:
changesPropertiesList- the changesPropertiesList to set
-
setChangesXmlList
public void setChangesXmlList(java.util.List<E2EChangesXmlService> changesXmlList)
- Parameters:
changesXmlList- the changesXmlList to set
-
-