ChangeInformation
Description
Use ChangeInformation
objects to review information about changes
for requirement links.
Creation
Use the slreq.getChangeInformation
function to create an array of
ChangeInformation
objects.
Properties
LinksWithChangedSource
— Links with source changes
array of slreq.Link
objects
Links with source changes, specified as an array of slreq.Link
objects.
LinksWithChangedDestination
— Links with destination changes
array of slreq.Link
objects
Links with destination changes, specified as an array of slreq.Link
objects.
SourceChanges
— Source change information
structure
Source change information, specified as a structure with these fields:
Field | Data Type | Description |
---|---|---|
status | character vector | The link change status message:
|
storedRevision | character vector | The stored revision for the source artifact |
actualRevision | character vector | The current revision for the source artifact |
Data Types: struct
DestChanges
— Destination change information
structure
Destination change information, specified as a structure with these fields:
Field | Data Type | Description |
---|---|---|
status | character vector | The link change status message:
|
storedRevision | character vector | The stored revision for the destination artifact |
actualRevision | character vector | The current revision for the destination artifact |
Data Types: struct
Examples
Review Destination Changes
This example shows how to view the change information for a link with destination changes.
Open the project.
openProject("ShortestPathChangesExample");
Load the link set file.
myLinkSet = slreq.load("shortest_path");
Retrieve the change information for myLinkSet
.
changeInfo = slreq.getChangeInformation(myLinkSet)
changeInfo = ChangeInformation with properties: LinksWithChangedSource: [0x0 slreq.Link] LinksWithChangedDestination: [1x1 slreq.Link] SourceChanges: [1x0 struct] DestChanges: [1x1 struct]
View the change information for links with destination changes.
changeInfo.DestChanges
ans = struct with fields:
status: 'Changed'
storedRevision: '10'
actualRevision: '14'
Version History
Introduced in R2023b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)