ModelProblem
A rule result: a violation, pending review, unresolved assessment, or explicit disposition.
Constructors
Properties
User-facing remediation resolved from the problem first, then the rule default.
The published correction is deliberately independent of the detailed local remediation.
Canonical MetamodelEntity.id of the reviewed object, never its human name or a composite finding identity.
SARIF result kind. Defaults to SarifKind.FAIL — meaning "the check failed". Rules that produce purely informational outputs may use SarifKind.INFORMATIONAL.
Logical owner, independent of the file or Gradle project declaring the subject.
Structured fixes that IDE integrations may expose as executable quick fixes.
Model entities supplying evidence for this finding (for example the allocated requirement).
Problem-specific remediation. When absent, ModelRule.remediation is used.
Target-independent diagnostic inventory, shared by findings with the same owner.
One short correction paragraph for findings tables; never candidate inventories or detailed repair steps.
Resolved SARIF level: if kind is SarifKind.FAIL, uses severity's SARIF mapping; otherwise SarifLevel.NONE.
Absolute path to the source file where the problem was triggered (optional).
Line number in sourceFile where the entity is declared (1-based, optional).
Exact identifier offset for a source-declaration finding; adapters retain the physical file/line too.