Package io.helidon.build.devloop
Class BuildRootType
java.lang.Object
io.helidon.build.devloop.BuildRootType
A build root type.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BuildRootTypecreate(DirectoryType directoryType, BiPredicate<Path, Path> filter) Creates a new type.Returns the associated directory type.booleanfilter()Returns the associated file filter.inthashCode()static BuildRootTypeReturns the Java classes instance.static BuildRootTypeReturns the Java sources instance.static BiPredicate<Path,Path> Returns a filter that returnstruefor any filename ending with".class".static BiPredicate<Path,Path> Returns a filter that returnstruefor any filename ending with".java".static BiPredicate<Path,Path> Returns a filter that returnstruefor any filename that does not start with"."and does not end with".class",".swp"or"~".static BuildRootTypeReturns the resources instance.toString()
-
Method Details
-
javaSources
Returns the Java sources instance.- Returns:
- The instance.
-
javaClasses
Returns the Java classes instance.- Returns:
- The instance.
-
resources
Returns the resources instance.- Returns:
- The instance.
-
matchesJavaSource
Returns a filter that returnstruefor any filename ending with".java".- Returns:
- The filter. The second path parameter is always ignored; a
BiPredicate<Path,Path>is used for symmetry with other uses ofPathFilters.
-
matchesJavaClass
Returns a filter that returnstruefor any filename ending with".class".- Returns:
- The filter. The second path parameter is always ignored; a
BiPredicate<Path,Path>is used for symmetry with other uses ofPathFilters.
-
matchesResource
Returns a filter that returnstruefor any filename that does not start with"."and does not end with".class",".swp"or"~".- Returns:
- The filter. The second path parameter is always ignored; a
BiPredicate<Path,Path>is used for symmetry with other uses ofPathFilters.
-
create
Creates a new type.- Parameters:
directoryType- The directory type.filter- The file filter.- Returns:
- The type.
-
directoryType
Returns the associated directory type.- Returns:
- The directory type.
-
filter
Returns the associated file filter.- Returns:
- The filter.
-
equals
-
hashCode
public int hashCode() -
toString
-