Package org.qubership.atp.ram.services
Class FileNamesService
java.lang.Object
org.qubership.atp.ram.services.FileNamesService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenameFilesInPlaceIfCollisionsOccurs(List<ExtendedFileData> files, Map<UUID, LogRecord> logRecordMap, Map<UUID, TestRun> testRunMap) If any 2 files have name collisions they should be renamed to allow saving them to the same directory.
-
Constructor Details
-
FileNamesService
public FileNamesService()
-
-
Method Details
-
renameFilesInPlaceIfCollisionsOccurs
public void renameFilesInPlaceIfCollisionsOccurs(List<ExtendedFileData> files, Map<UUID, LogRecord> logRecordMap, Map<UUID, TestRun> testRunMap) If any 2 files have name collisions they should be renamed to allow saving them to the same directory.- Parameters:
files- list of fileslogRecordMap- map logRecordId to it's instancetestRunMap- map testRunId to it's instance
-
getFileNamesFromFilesList
-