Interface ViolationLineMatcher


@PublicAPI(usage=INHERITANCE)
public interface ViolationLineMatcher
Allows FreezingArchRule to decide when two lines of two violations count as "equivalent".
  • Method Summary

    Modifier and Type Method Description
    boolean matches​(java.lang.String lineFromFirstViolation, java.lang.String lineFromSecondViolation)  
  • Method Details

    • matches

      boolean matches​(java.lang.String lineFromFirstViolation, java.lang.String lineFromSecondViolation)
      Parameters:
      lineFromFirstViolation - A line from the description of a violation of an ArchRule being evaluated
      lineFromSecondViolation - A line from the description of a stored violation of an ArchRule
      Returns:
      true, if and only if those two lines should be considered equivalent