Class PathsGenerator

java.lang.Object
org.qubership.atp.ram.utils.PathsGenerator

public class PathsGenerator extends Object
  • Constructor Details

    • PathsGenerator

      public PathsGenerator(LogRecordService logRecordService)
      Generator paths to found objects.
      Parameters:
      logRecordService - service for find log record
  • Method Details

    • generatePathToFoundTestRuns

      public StepPath generatePathToFoundTestRuns(List<TestRun> testRuns)
      Find test runs with names, which contain searchValue.
      Parameters:
      testRuns - original list with test runs
      Returns:
      generated paths to found test runs
    • generatePathToFoundLogRecords

      public List<StepPath> generatePathToFoundLogRecords(List<LogRecord> logRecords)
      Find log records with names, which contain searchValue.
      Parameters:
      logRecords - original list with log records
      Returns:
      generated paths to found log records
    • generatePathToFoundLogRecord

      public StepPath generatePathToFoundLogRecord(UUID uuid)
      Find log record by uuid.
      Parameters:
      uuid - of log record
      Returns:
      path to LR