java.lang.Object
org.qubership.atp.dataset.migration.model.Settings

public class Settings extends Object
  • Constructor Details

    • Settings

      public Settings()
    • Settings

      public Settings(@Nonnull String excelFolder, @Nullable String parentFileName, @Nullable String childFileName, @Nonnull String vaName, @Nonnull String dslName, @Nonnull String defaultGroupDataSetName, @Nullable String rootAttr)
      Settings of an import.
      Parameters:
      excelFolder - relative or absolute path to the folder with xlsx files.
      parentFileName - name of a xlsx file with "parent" data sets.
      childFileName - name of a xlsx file with "child" data sets.
      vaName - name of a visibility area, to migrate data into.
      dslName - dame of a data set list, to migrate "child" data sets into.
      defaultGroupDataSetName - name of a data set to be used for group "parent" data sets.
      rootAttr - if TRUE, all parameters under "default" group will be migrated into root of data set list: no "default" group will be created.
  • Method Details

    • getSettings

      public static Settings getSettings(Properties properties) throws IllegalArgumentException
      Parses settings from supplied properties.
      Throws:
      IllegalArgumentException - if some mandatory argument is not specified.
    • getExcelFolder

      public String getExcelFolder()
    • getParentExcelDatasetLocation

      public String getParentExcelDatasetLocation()
    • getChildExcelDatasetLocation

      public String getChildExcelDatasetLocation()
    • getVisibilityArea

      public String getVisibilityArea()
    • getDslName

      public String getDslName()
    • getDefaultGroupDataSetName

      public String getDefaultGroupDataSetName()
    • getRootAttrFlag

      public Boolean getRootAttrFlag()