Package com.tngtech.archunit.lang
Interface FailureDisplayFormat
Allows to customize violation messages and rule text of
ArchRules
.-
Method Summary
Modifier and TypeMethodDescriptionformatFailure
(HasDescription rule, FailureMessages failureMessages, Priority priority) Formats the failure of anArchRule
, i.e.
-
Method Details
-
formatFailure
Formats the failure of anArchRule
, i.e. constructs the text to display for this failing rule, given the rule itself, its detailing failure message and the rulePriority
.- Parameters:
rule
- The rule that failedfailureMessages
- All the failure detailspriority
- The priority of the rule- Returns:
- A text to display for this failing rule
-