Class BuildLoop.Builder

  • Enclosing class:
    BuildLoop

    public static class BuildLoop.Builder
    extends Object
    A BuildLoop builder.
    • 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 new Project instances should perform a clean build.
        Parameters:
        clean - true if 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 - true if 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 new BuildLoop.
        Returns:
        The loop.