public interface AlignFilter extends FolderFilter
Alignment overrides determines how files and/or folders from two sides of a
folder comparison are matched/aligned. By default DeltaWalker aligns files
and folders by their names, that is for two resources to be compared their
names need to be the same. For example, a file named
first/left panel can only be compared to a file named
second/right panel. Oftentimes however there's a need to align and compare
resources with different names, for example
The alignment override filter allows for just that - matching two strings, specifically the names of two file system resources, using two regular or shell expressions. To achieve that goal the filter uses a special, proprietary pattern object referred to as a dual pattern. A dual pattern is a pattern that matches 2 strings using 2 regular/shell expressions - primary and secondary. The first expression is called primary because the second refers to it. The second is called secondary because it references/refers to the first one. The type of referencing presently supported is Group referencing i.e. making a reference in the secondary pattern to a group from the primary pattern.
|Modifier and Type||Method and Description|
Returns the specific folder pathnames this filter is configured to apply to.
Answers whether the regular or shell expressions of this filter will perform case sensitive matching or not.
Returns the secondary expression of this align filter.
Answers whether the patterns/expressions of this filter are regular or shell expressions.
truewhen matching is case sensitive,