T - the taskS - the builder typepublic abstract class AbstractBuilder<T extends AbstractTask,S extends AbstractSetupBuilder>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
buildDir |
protected org.gradle.api.internal.file.FileResolver |
fileResolver |
protected T |
task |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBuilder(T task,
org.gradle.api.internal.file.FileResolver fileResolver)
Builder abstraction
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
exec(java.util.ArrayList<java.lang.String> parameters)
Call a program from the WIX installation.
|
protected void |
exec(java.util.ArrayList<java.lang.String> parameters,
java.io.InputStream input,
java.io.OutputStream output)
Execute an external process.
|
protected void |
exec(java.util.ArrayList<java.lang.String> parameters,
java.io.InputStream input,
java.io.OutputStream output,
boolean ignoreExitValue)
Execute an external process.
|
protected T |
getTask()
Returns the concrete task
|
protected T extends AbstractTask task
protected org.gradle.api.internal.file.FileResolver fileResolver
protected java.io.File buildDir
protected AbstractBuilder(T task, org.gradle.api.internal.file.FileResolver fileResolver)
task - concrete taskfileResolver - resolver for filesprotected void exec(java.util.ArrayList<java.lang.String> parameters)
parameters - the parametersprotected void exec(java.util.ArrayList<java.lang.String> parameters,
java.io.InputStream input,
java.io.OutputStream output)
parameters - command lineinput - optional InputStream for the processoutput - optional OutputStream for the processprotected void exec(java.util.ArrayList<java.lang.String> parameters,
java.io.InputStream input,
java.io.OutputStream output,
boolean ignoreExitValue)
parameters - command lineinput - optional InputStream for the processoutput - optional OutputStream for the processignoreExitValue - true, does not throw an exception if the return code is not equals sero.protected T getTask()