Interface TextFileBasedViolationStore.RuleViolationFileNameStrategy
- Enclosing class:
- TextFileBasedViolationStore
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@PublicAPI(usage=INHERITANCE)
public static interface TextFileBasedViolationStore.RuleViolationFileNameStrategy
Allows to adjust the rule violation file names of
TextFileBasedViolationStore-
Method Summary
Modifier and TypeMethodDescriptioncreateRuleFileName(String ruleDescription) Returns the file name to store violations of anArchRule, possibly based on the rule description.
The returned names must be sufficiently unique from any others; as long as the descriptions themselves are unique, this can be achieved by sanitizing the description into some sort of file name.
-
Method Details
-
createRuleFileName
Returns the file name to store violations of anArchRule, possibly based on the rule description.
The returned names must be sufficiently unique from any others; as long as the descriptions themselves are unique, this can be achieved by sanitizing the description into some sort of file name.- Parameters:
ruleDescription- The description of theArchRuleto store- Returns:
- The file name the respective rule violation file will have (see
TextFileBasedViolationStore)
-