Class AtpImportStrategy

java.lang.Object
org.qubership.atp.mia.ei.service.AtpImportStrategy
All Implemented Interfaces:
ImportStrategy

@Service public class AtpImportStrategy extends Object implements ImportStrategy
  • Field Details

  • Constructor Details

    • AtpImportStrategy

      public AtpImportStrategy()
  • Method Details

    • getFormat

      public org.qubership.atp.ei.node.dto.ExportFormat getFormat()
      Description copied from interface: ImportStrategy
      Get Export format.
      Specified by:
      getFormat in interface ImportStrategy
      Returns:
      ExportFormat
    • miaImport

      public void miaImport(org.qubership.atp.ei.node.dto.ExportImportData importData, Path path)
      Description copied from interface: ImportStrategy
      Import data.
      Specified by:
      miaImport in interface ImportStrategy
      Parameters:
      importData - import data model.
      path - path
    • validateData

      public org.qubership.atp.ei.node.dto.ValidationResult validateData(org.qubership.atp.ei.node.dto.ExportImportData importData, Path path)
      Description copied from interface: ImportStrategy
      Validate imported data on name duplicates.
      Specified by:
      validateData in interface ImportStrategy
      Returns:
      ValidationResult