Package org.qubership.atp.ram.utils
Class PathsGenerator
java.lang.Object
org.qubership.atp.ram.utils.PathsGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionPathsGenerator(LogRecordService logRecordService) Generator paths to found objects. -
Method Summary
Modifier and TypeMethodDescriptionFind log record by uuid.generatePathToFoundLogRecords(List<LogRecord> logRecords) Find log records with names, which contain searchValue.generatePathToFoundTestRuns(List<TestRun> testRuns) Find test runs with names, which contain searchValue.
-
Constructor Details
-
PathsGenerator
Generator paths to found objects.- Parameters:
logRecordService- service for find log record
-
-
Method Details
-
generatePathToFoundTestRuns
Find test runs with names, which contain searchValue.- Parameters:
testRuns- original list with test runs- Returns:
- generated paths to found test runs
-
generatePathToFoundLogRecords
Find log records with names, which contain searchValue.- Parameters:
logRecords- original list with log records- Returns:
- generated paths to found log records
-
generatePathToFoundLogRecord
Find log record by uuid.- Parameters:
uuid- of log record- Returns:
- path to LR
-