Class DefaultableLauncherConfig.Builder
java.lang.Object
io.github.srdjanv.localgitdependency.config.impl.defaultable.DefaultableLauncherConfigFields
io.github.srdjanv.localgitdependency.config.impl.defaultable.DefaultableLauncherConfig.Builder
- All Implemented Interfaces:
DefaultableLauncherBuilder
- Enclosing class:
- DefaultableLauncherConfig
public static class DefaultableLauncherConfig.Builder
extends DefaultableLauncherConfigFields
implements DefaultableLauncherBuilder
-
Field Summary
Fields inherited from class io.github.srdjanv.localgitdependency.config.impl.defaultable.DefaultableLauncherConfigFields
forwardOutput, gradleDaemonMaxIdleTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforwardOutput(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.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 types
-
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
-