6.2.5.36. Architecture-TaggedValuesMapping¶
Create a tagged-value based mapping
Required inputs: RFG
This rule creates a mapping based on tagged values imported from
an Enterprise Architect® XMI file. The names of the tagged values used for maps
to annotation are specified using the input parameter
tagged_values, which takes a list of strings.
For example, a tagged value
Compiler: src/compiler.*; src/compiler_tools.c
corresponds to mapping all files having the path prefix
src/compiler. as well as the file src/compiler_tools.c
to the architectural entity named Compiler.
Possible Messages
This rule has no predefined messages.
Options¶
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Analysis-GlobalOptions
architecture_view_name¶
architecture_view_name : str = 'Architecture'
export_warnings¶
export_warnings : bool = True
hierarchy_view_name¶
hierarchy_view_name : str = 'File'
loglevel¶
loglevel : LogLevel = 'WARNING'
mapping_view_name¶
mapping_view_name : str = 'Mapping'
path_entry_transformer¶
path_entry_transformer : typing.Callable[[str], str] | None = None
replace_pairs¶
replace_pairs : list[typing.Tuple[str, str]] = [('%WORKSPACE%', '')]
tagged_values¶
tagged_values : list[str] = ['MapsTo', 'AxivionMapping', 'AxivionMapsTo']
Option Types¶
These types are used by options listed above:
LogLevel¶
An enumeration.WARNING
INFO
DEBUG