Class Launchers.Launcher.Builder
java.lang.Object
io.github.srdjanv.localgitdependency.config.impl.defaultable.DefaultableLauncherConfigFields
io.github.srdjanv.localgitdependency.config.impl.dependency.Launchers.LauncherFields
io.github.srdjanv.localgitdependency.config.impl.dependency.Launchers.Launcher.Builder
- All Implemented Interfaces:
DefaultableLauncherBuilder,LauncherBuilder
- Enclosing class:
- Launchers.Launcher
public static class Launchers.Launcher.Builder
extends Launchers.LauncherFields
implements LauncherBuilder
-
Field Summary
Fields inherited from class io.github.srdjanv.localgitdependency.config.impl.defaultable.DefaultableLauncherConfigFields
executable, forwardOutput, gradleDaemonMaxIdleTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(groovy.lang.Closure build) voidforwardOutput(Boolean forwardOutput) Setting this to true will forward logs to the standard output, Default truevoidgradleDaemonMaxIdleTime(Integer gradleDaemonMaxIdleTime) For how long should the gradle daemon used for dependency building idle.voidprobe(groovy.lang.Closure probe) voidsetExecutable(Object path) 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 typesvoidstartup(groovy.lang.Closure startup)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setExecutable
Description copied from interface:DefaultableLauncherBuilderThe 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:
setExecutablein interfaceDefaultableLauncherBuilder- Parameters:
path- the installation path
-
gradleDaemonMaxIdleTime
Description copied from interface:DefaultableLauncherBuilderFor how long should the gradle daemon used for dependency building idle. Use java's TimeUnit class for easy conversion- Specified by:
gradleDaemonMaxIdleTimein interfaceDefaultableLauncherBuilder- Parameters:
gradleDaemonMaxIdleTime- the amount of time in seconds- See Also:
-
forwardOutput
Description copied from interface:DefaultableLauncherBuilderSetting this to true will forward logs to the standard output, Default true- Specified by:
forwardOutputin interfaceDefaultableLauncherBuilder- Parameters:
forwardOutput- setting forwarding
-
startup
public void startup(groovy.lang.Closure startup) - Specified by:
startupin interfaceLauncherBuilder
-
probe
public void probe(groovy.lang.Closure probe) - Specified by:
probein interfaceLauncherBuilder
-
build
public void build(groovy.lang.Closure build) - Specified by:
buildin interfaceLauncherBuilder
-