Interface ModuleDependency.Filter
- All Superinterfaces:
Comparable<ModuleDependency.Filter>
- Enclosing class:
ModuleDependency
A simple filter of the dependency to filter paths.
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
of
Creates a new path filter.- Parameters:
path- the path to filterinclude- whether the filter should be an include or exclude- Returns:
- a new filter
-
path
String path()The relative path of the filter- Returns:
- the relative path
-
include
boolean include()Whether the filter should be an include or exclude.- Returns:
truefor an include filter,falsefor an exclude filter
-