Class ReqIfRequirementsImportSettings
- java.lang.Object
-
- com.piketec.tpt.api.requirements.RequirementsImportSettings
-
- com.piketec.tpt.api.requirements.reqif.ReqIfRequirementsImportSettings
-
- All Implemented Interfaces:
java.io.Serializable
public class ReqIfRequirementsImportSettings extends RequirementsImportSettings
The settings for the requirements import from a reqIF file.- Author:
- Copyright (c) 2014-2024 PikeTec GmbH - MIT License (MIT) - All rights reserved
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReqIfRequirementsImportSettings()
The contructor for the settings of the requirements import from a reqIF file.
The path to the source reqIF file for the import must be set viasetImportFilePath(String)
.ReqIfRequirementsImportSettings(java.lang.String importFilePath)
The contructor for the settings of the requirements import from a reqIF file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getAttributeColumns()
java.lang.String
getImportFilePath()
boolean
isAllAdditionalAttributeColumns()
void
setAllAdditionalAttributeColumns(boolean allAdditionalColumns)
void
setAttributeColumns(java.util.List<java.lang.String> attributeColumns)
void
setImportFilePath(java.lang.String importFilePath)
-
Methods inherited from class com.piketec.tpt.api.requirements.RequirementsImportSettings
getAutoReviewColumns, getDocument, setAutoReviewColumns, setDocument
-
-
-
-
Constructor Detail
-
ReqIfRequirementsImportSettings
public ReqIfRequirementsImportSettings(java.lang.String importFilePath)
The contructor for the settings of the requirements import from a reqIF file.- Parameters:
importFilePath
- The path to the source reqIF file for the import.
-
ReqIfRequirementsImportSettings
public ReqIfRequirementsImportSettings()
The contructor for the settings of the requirements import from a reqIF file.
The path to the source reqIF file for the import must be set viasetImportFilePath(String)
.
-
-
Method Detail
-
getImportFilePath
public java.lang.String getImportFilePath()
- Returns:
- The path to the source reqIF file.
-
setImportFilePath
public void setImportFilePath(java.lang.String importFilePath)
- Parameters:
importFilePath
- The path of the source reqIF file for the import.
-
getAttributeColumns
public java.util.List<java.lang.String> getAttributeColumns()
- Returns:
- Optional list of column names to import them as additional requirements attributes. To
enable the automatic review of possible changes of an requirement attribute add the
column name also to the
list of autoreview attributes
. - See Also:
RequirementsImportSettings.setAutoReviewColumns(List)
-
setAttributeColumns
public void setAttributeColumns(java.util.List<java.lang.String> attributeColumns)
- Parameters:
attributeColumns
- Optional list of column names to import them as additional requirements attributes. To enable the automatic review of possible changes of an requirement attribute add the column name also to thelist of autoreview attributes
.- See Also:
RequirementsImportSettings.setAutoReviewColumns(List)
-
isAllAdditionalAttributeColumns
public boolean isAllAdditionalAttributeColumns()
- Returns:
- Whether additional non-standard attributes of specification types that are not
contained in
specified attributes
should be imported as well. - See Also:
setAttributeColumns(List)
-
setAllAdditionalAttributeColumns
public void setAllAdditionalAttributeColumns(boolean allAdditionalColumns)
- Parameters:
allAdditionalColumns
- Whether additional non-standard attributes of specification types that are not contained inspecified attributes
should be imported as well.- See Also:
setAttributeColumns(List)
-
-