@Transactional public class CollectorServiceImpl extends InitiateDirectoryBase implements CollectorService
Constructor and Description |
---|
CollectorServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
finalizeCollector(CollectorReportData collectorReportData) |
CollectorScrubberService |
getCollectorScrubberService()
Gets the collectorScrubberService attribute.
|
org.kuali.rice.core.api.datetime.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute.
|
OriginEntryGroupService |
getOriginEntryGroupService()
Gets the originEntryGroupService attribute.
|
List<String> |
getRequiredDirectoryNames()
Get the required list of directories name (full path)
|
RunDateService |
getRunDateService() |
CollectorReportData |
performCollection()
performs collection
|
protected void |
removeDoneFiles(List<String> dataFileNames)
Clears out associated .done files for the processed data files.
|
protected void |
renameCollectorScrubberFiles() |
void |
setBatchFileDirectoryName(String batchFileDirectoryName) |
void |
setBatchInputFileService(BatchInputFileService batchInputFileService) |
void |
setCollectorHelperService(CollectorHelperService collectorHelperService) |
void |
setCollectorInputFileTypes(List<BatchInputFileType> collectorInputFileTypes) |
void |
setCollectorReportWriterService(ReportWriterService collectorReportWriterService)
Sets the collectorReportWriterService attribute value.
|
void |
setCollectorScrubberService(CollectorScrubberService collectorScrubberService)
Sets the collectorScrubberService attribute value.
|
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.
|
void |
setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
Sets the originEntryGroupService attribute value.
|
void |
setRunDateService(RunDateService runDateService) |
protected void |
updateCollectorReportDataWithExecutionStatistics(CollectorReportData collectorReportData,
List<CollectorScrubberStatus> collectorScrubberStatuses)
Adds execution statistics to the Collector run
|
prepareDirectories
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareDirectories
public CollectorServiceImpl()
public CollectorReportData performCollection()
performCollection
in interface CollectorService
protected void removeDoneFiles(List<String> dataFileNames)
dataFileNames
- the name of files with done files to removeprotected void renameCollectorScrubberFiles()
public void finalizeCollector(CollectorReportData collectorReportData)
finalizeCollector
in interface CollectorService
public void setCollectorHelperService(CollectorHelperService collectorHelperService)
public void setBatchInputFileService(BatchInputFileService batchInputFileService)
public void setCollectorInputFileTypes(List<BatchInputFileType> collectorInputFileTypes)
public OriginEntryGroupService getOriginEntryGroupService()
public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
originEntryGroupService
- The originEntryGroupService to set.public org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.public CollectorScrubberService getCollectorScrubberService()
public void setCollectorScrubberService(CollectorScrubberService collectorScrubberService)
collectorScrubberService
- The collectorScrubberService to set.protected void updateCollectorReportDataWithExecutionStatistics(CollectorReportData collectorReportData, List<CollectorScrubberStatus> collectorScrubberStatuses)
collectorReportData
- data gathered from the run of the CollectorcollectorScrubberStatuses
- a List of CollectorScrubberStatus recordspublic RunDateService getRunDateService()
public void setRunDateService(RunDateService runDateService)
public void setBatchFileDirectoryName(String batchFileDirectoryName)
public void setCollectorReportWriterService(ReportWriterService collectorReportWriterService)
collectorReportWriterService
- The collectorReportWriterService to set.public List<String> getRequiredDirectoryNames()
InitiateDirectory
getRequiredDirectoryNames
in interface InitiateDirectory
getRequiredDirectoryNames
in class InitiateDirectoryBase
org.kuali.ole.sys.batch.service.impl.InitiateDirectoryImpl#getRequiredDirectoryNames()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.