Interface ModuleDependency.Filter
-
- All Superinterfaces:
Comparable<ModuleDependency.Filter>
- Enclosing class:
- ModuleDependency
public static interface ModuleDependency.Filter extends Comparable<ModuleDependency.Filter>
A simple filter of the dependency to filter paths.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description booleaninclude()Whether the filter should be an include or exclude.static ModuleDependency.Filterof(String path, boolean include)Creates a new path filter.Stringpath()The relative path of the filter-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
of
static ModuleDependency.Filter of(String path, boolean include)
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
-
-