Interface IDifferenceFilter.Registry
-
- All Known Implementing Classes:
DifferenceFilterRegistryImpl
- Enclosing interface:
- IDifferenceFilter
public static interface IDifferenceFilter.RegistryA registry ofIDifferenceFilter.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDifferenceFilteradd(IDifferenceFilter filter)Add to the registry the givenIDifferenceFilter.voidclear()Clear the registry.Collection<IDifferenceFilter>getFilters(IComparisonScope scope, Comparison comparison)Returns the list ofIDifferenceFiltercontained in the registry.IDifferenceFilterremove(String className)Remove from the registry theIDifferenceFilterdesignated by the givenString.
-
-
-
Method Detail
-
getFilters
Collection<IDifferenceFilter> getFilters(IComparisonScope scope, Comparison comparison)
Returns the list ofIDifferenceFiltercontained in the registry.- Parameters:
scope- The scope on which the filters will be applied.comparison- The comparison which is to be displayed in the structural view.- Returns:
- The list of
IDifferenceFiltercontained in the registry.
-
add
IDifferenceFilter add(IDifferenceFilter filter)
Add to the registry the givenIDifferenceFilter.- Parameters:
filter- The givenIDifferenceFilter.- Returns:
- The previous value associated with the class name of the given
IDifferenceFilter, or null if there was no entry in the registry for the class name.
-
remove
IDifferenceFilter remove(String className)
Remove from the registry theIDifferenceFilterdesignated by the givenString.- Parameters:
className- The givenStringrepresenting aIDifferenceFilter.- Returns:
- The
IDifferenceFilterdesignated by the givenString.
-
clear
void clear()
Clear the registry.
-
-