Interface FailureDisplayFormat

public interface FailureDisplayFormat
Allows to customize violation messages and rule text of ArchRules.
  • Method Details

    • formatFailure

      java.lang.String formatFailure​(HasDescription rule, FailureMessages failureMessages, Priority priority)
      Formats the failure of an ArchRule, i.e. constructs the text to display for this failing rule, given the rule itself, its detailing failure message and the rule Priority.
      rule - The rule that failed
      failureMessages - All the failure details
      priority - The priority of the rule
      A text to display for this failing rule