Class Settings
java.lang.Object
org.qubership.atp.dataset.migration.model.Settings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SettingsgetSettings(Properties properties) Parses settings from supplied properties.
-
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
Parses settings from supplied properties.- Throws:
IllegalArgumentException- if some mandatory argument is not specified.
-
getExcelFolder
-
getParentExcelDatasetLocation
-
getChildExcelDatasetLocation
-
getVisibilityArea
-
getDslName
-
getDefaultGroupDataSetName
-
getRootAttrFlag
-