Main Content

slreq.callback.DOORSImportOptions class

Package: slreq.callback

IBM Rational DOORS import options

Description

Use objects of the slreq.callback.DOORSImportOptions class to adjust the options to use when import requirements. When you import requirements from IBM® Rational® DOORS®, slreq.getCurrentImportOptions generates an slreq.callback.DOORSImportOptions object that you can use to adjust the options to use when you import requirements. You can only access this object in the PreImportFcn callback.

The slreq.callback.DOORSImportOptions class is a handle class.

Creation

options = slreq.getCurrentImportOptions returns an slreq.callback.DOORSImportOptions object if you are importing requirements from IBM Rational DOORS.

Properties

expand all

External attribute mapped to the Rationale property, specified as a string scalar or character vector.

Example: myImportOptions.Rationale = "Requirement rationale";

Attributes:

GetAccess
public
SetAccess
public

External attribute mapped to the Keywords property, specified as a string scalar or character vector.

Example: myImportOptions.Keywords = "Requirement keywords";

Attributes:

GetAccess
public
SetAccess
public

External attributes to import as custom attributes, specified as a cell array.

Example: myImportOptions.Attributes = {'Priority','Status'};

Attributes:

GetAccess
public
SetAccess
public

Filter condition to apply during import, specified as a string scalar or a character vector.

Example: myImportOptions.Filter = "AttributeName==Value";

Attributes:

GetAccess
public
SetAccess
public

Option to import as slreq.Reference objects, specified as a 1 or 0 of data type logical. If 0, requirements import as slreq.Requirement objects.

Attributes:

GetAccess
public
SetAccess
public

Option to import requirements with rich text, specified as a 1 or 0 of data type logical.

Attributes:

GetAccess
public
SetAccess
public

Resource identifier for external requirements document, specified as a string scalar or character vector.

Attributes:

GetAccess
public
SetAccess
public

Requirements document custom link type, returned as a string scalar or character vector.

Attributes:

GetAccess
public
SetAccess
private

Requirement set name, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
private

Contents of the PreImportFcn callback for the current Import node, specified as a string scalar or a character vector.

Attributes:

GetAccess
public
SetAccess
public

Contents of the PostImportFcn callback for the current Import node, specified as a string scalar or a character vector.

Attributes:

GetAccess
public
SetAccess
public

Version History

Introduced in R2022a