Class Launchers.Launcher.Builder

All Implemented Interfaces:
DefaultableLauncherBuilder, LauncherBuilder
Enclosing class:
Launchers.Launcher

public static class Launchers.Launcher.Builder extends Launchers.LauncherFields implements LauncherBuilder
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setExecutable

      public void setExecutable(Object path)
      Description copied from interface: DefaultableLauncherBuilder
      The Java the installation path to be used by the gradle process This can take a JavaLauncher, RegularFile, File, Path, String and Property, Provider of anny of these types
      Specified by:
      setExecutable in interface DefaultableLauncherBuilder
      Parameters:
      path - the installation path
    • gradleDaemonMaxIdleTime

      public void gradleDaemonMaxIdleTime(Integer gradleDaemonMaxIdleTime)
      Description copied from interface: DefaultableLauncherBuilder
      For how long should the gradle daemon used for dependency building idle. Use java's TimeUnit class for easy conversion
      Specified by:
      gradleDaemonMaxIdleTime in interface DefaultableLauncherBuilder
      Parameters:
      gradleDaemonMaxIdleTime - the amount of time in seconds
      See Also:
    • forwardOutput

      public void forwardOutput(Boolean forwardOutput)
      Description copied from interface: DefaultableLauncherBuilder
      Setting this to true will forward logs to the standard output, Default true
      Specified by:
      forwardOutput in interface DefaultableLauncherBuilder
      Parameters:
      forwardOutput - setting forwarding
    • startup

      public void startup(groovy.lang.Closure startup)
      Specified by:
      startup in interface LauncherBuilder
    • probe

      public void probe(groovy.lang.Closure probe)
      Specified by:
      probe in interface LauncherBuilder
    • build

      public void build(groovy.lang.Closure build)
      Specified by:
      build in interface LauncherBuilder