Keywords for preferences

For the DiffReport and MergeLog preferences, the following table lists the keywords in the default values for the preferences.
Table 1. Keywords for preferences
Keyword Explanation Default value
$decided Means how the merge was decided (automatically or manually). You can use the keyword to customize the Merge Log contents. The values are retrieved from the following preferences:
  • MergeLog::RepDecidedAuto (the default value is automatically)
  • MergeLog::RepDecidedMan (the default value is manually)
$diffs Means the number of differences found.  
$elemname Means the name of the model element.  
$elemtype Means the model element type (class, component, and so on).  
$filename Means the filename for the merged results, if a file is produced.  
$itemname Means the name of the attribute.  
$leftonly Means the number of elements that exist only on the left side of the comparison.  
$mergeauto Means if the comparing can be automatically merged. You can use the keyword to customize the Difference Report contents and is available in base-aware mode only. The values are retrieved from the following preferences:
  • DiffReport::BaseAwareDiffMergeAutoYes (the default value is can be merged automatically)
  • DiffReport::BaseAwareDiffMergeAutoNo (the default value is cannot be merged automatically)
$parentname Means the name of the parent.  
$parenttype Means the parent type (class, component, and so on).  
$rightonly Means the number of elements that exist only on the right side.  
$side Means the side of the comparison or merge (left side or right ride).

When the keyword is used in the DiffReport preference section, the side value is retrieved from the following preferences:

  • DiffReport::BaseAwareDiffSideLeft (the default value is on the left)
  • DiffReport::BaseAwareDiffSideRight (the default value is on the right)

When the keyword is used in the MergeLog preference section, the side value is retrieved from the following preferences:

  • MergeLog::RepSideLeft (the default value is from the left)
  • MergeLog::RepSideRight (the default value is from the right)
$triviality Means if the difference is trivial or conflicting. You can use the keyword to customize the Difference Report contents and is available in base-aware mode only. The values are retrieved from the following preferences:
  • DiffReport::BaseAwareDiffTrivialYes (the default value is trivial diff)
  • DiffReport::BaseAwareDiffTrivialNo (the default value is non-trivial diff)

Feedback