Package com.tngtech.archunit.library.freeze
package com.tngtech.archunit.library.freeze
-
ClassDescriptionA decorator around an existing
ArchRulethat "freezes" the state of all violations on the first call instead of failing the test.A text file based implementation of aViolationStore.
ThisViolationStorewill store the violations of every singleFreezingArchRulein a dedicated file.
It will keep an index of all stored rules as well as a mapping to the individual rule violation files in the same folder.
By default, the layout within the configured store folder will look like:Allows to adjust the rule violation file names ofTextFileBasedViolationStoreAllowsFreezingArchRuleto decide when two lines of two violations count as "equivalent".Provides some sort of storage for violations toFreezingArchRule.A simple delegate for aViolationStoreto allow adjusting the behavior of anotherViolationStoreby delegation (e.g.