Package io.helidon.build.dev
Class BuildLoop.Builder
- java.lang.Object
-
- io.helidon.build.dev.BuildLoop.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildLoopbuild()Returns the newBuildLoop.BuildLoop.BuilderbuildExecutor(BuildExecutor buildExecutor)Sets the build executor.BuildLoop.Builderclean(boolean clean)Sets whether or not newProjectinstances should perform a clean build.BuildLoop.BuilderprojectSupplier(ProjectSupplier projectSupplier)Sets the project supplier.BuildLoop.BuilderwatchBinariesOnly(boolean watchBinariesOnly)Sets whether only binaries should be watched for changes.
-
-
-
Method Detail
-
buildExecutor
public BuildLoop.Builder buildExecutor(BuildExecutor buildExecutor)
Sets the build executor.- Parameters:
buildExecutor- The executor.- Returns:
- The builder, for chaining.
-
clean
public BuildLoop.Builder clean(boolean clean)
Sets whether or not newProjectinstances should perform a clean build.- Parameters:
clean-trueif new instances should perform a clean build.- Returns:
- The builder, for chaining.
-
watchBinariesOnly
public BuildLoop.Builder watchBinariesOnly(boolean watchBinariesOnly)
Sets whether only binaries should be watched for changes.- Parameters:
watchBinariesOnly-trueif only binaries should be watched for changes.- Returns:
- The builder, for chaining.
-
projectSupplier
public BuildLoop.Builder projectSupplier(ProjectSupplier projectSupplier)
Sets the project supplier.- Parameters:
projectSupplier- The supplier.- Returns:
- The builder, for chaining.
-
build
public BuildLoop build()
Returns the newBuildLoop.- Returns:
- The loop.
-
-