public class E2EChangeAnalysisFilesJob extends Object implements JobPerformable<CronJobModel>
| Constructor and Description |
|---|
E2EChangeAnalysisFilesJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyCockpitChanges(File e2eDir) |
boolean |
isAbortable()
Checks whether the execution is implemented abortable.
|
boolean |
isPerformable()
Checks whether the execution can be performed at the moment.
|
PerformResult |
perform(CronJobModel model)
The execution body for a
ServicelayerJob. |
void |
setChangesPropertiesList(List<E2EChangesPropertiesService> changesPropertiesList) |
void |
setChangesXmlList(List<E2EChangesXmlService> changesXmlList) |
void |
setCockpitChanges(E2EChangesCockpitService cockpitChanges) |
void |
setPropertiesFileService(E2EPropertiesFileService propertiesFileService) |
void |
setXmlFileService(E2EXmlFileService xmlFileService) |
public boolean isAbortable()
JobPerformableisAbortable in interface JobPerformable<CronJobModel>public boolean isPerformable()
JobPerformableisPerformable in interface JobPerformable<CronJobModel>public PerformResult perform(CronJobModel model)
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>model - 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 copyCockpitChanges(File e2eDir)
public void setPropertiesFileService(E2EPropertiesFileService propertiesFileService)
propertiesFileService - the propertiesFileService to setpublic void setXmlFileService(E2EXmlFileService xmlFileService)
xmlFileService - the xmlFileService to setpublic void setChangesPropertiesList(List<E2EChangesPropertiesService> changesPropertiesList)
changesPropertiesList - the changesPropertiesList to setpublic void setChangesXmlList(List<E2EChangesXmlService> changesXmlList)
changesXmlList - the changesXmlList to setpublic void setCockpitChanges(E2EChangesCockpitService cockpitChanges)
cockpitChanges - the cockpitChanges to setCopyright © 2017 SAP SE. All Rights Reserved.