ViolationReport

@Serializable
data class ViolationReport(val ruleId: String, val violations: List<Violation>, val severity: Severity = Severity.ERROR)

Aggregated report containing rule violations for a given rule execution.

Constructors

Link copied to clipboard
constructor(ruleId: String, violations: List<Violation>, severity: Severity = Severity.ERROR)

Properties

Link copied to clipboard

Returns true if the report contains any violations with Severity.ERROR.

Link copied to clipboard

Returns true if the report contains any violations with Severity.WARNING.

Link copied to clipboard

The identifier of the verified rule.

Link copied to clipboard

Overall report severity level.

Link copied to clipboard

List of violations generated by the rule execution.