@Deprecated public abstract class AbstractExecScriptTask<T extends AbstractExecTask<T> & Executable<T>> extends AbstractExecTask implements ExecutableScript
Fields inherited from class | Fields |
---|---|
class AbstractExecTask |
projectOperations |
Constructor and description |
---|
protected AbstractExecScriptTask
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.util.List<String> |
buildCommandLine() |
|
public Provider<String> |
getScript() The script used in this specification as a String. |
|
public Provider<java.util.List<String>> |
getScriptArgs() Any arguments specific to the command in use |
|
public Provider<File> |
getScriptAsFile() The script used in this specification as a File. |
|
public boolean |
isValidateScriptLocation() Whether the script's location should be validates prior to execution. |
|
public void |
scriptArgs(Iterable<?> args) Add more script-specific arguments. |
|
public void |
scriptArgs(Object args) Add more script-specific arguments. |
|
public T |
setScript(Object script) Set the script to use. |
|
public T |
setScriptArgs(Iterable<?> args) Replace the script-specific arguments with a new set. |
|
public void |
setValidateScriptLocation(boolean flag) |
Methods inherited from class | Name |
---|---|
class AbstractExecTask |
entrypoint, entrypoint, exec, getNativeExecSpec, getProjectOperations, process, process, runnerSpec, runnerSpec |
The script used in this specification as a String.
Any arguments specific to the command in use
The script used in this specification as a File.
This requires the file to exist at the time the provider is resolved,
Whether the script's location should be validates prior to execution.
true
if validation is required.Add more script-specific arguments.
args
- Additional list of argumentsAdd more script-specific arguments.
args
- Additional list of argumentsSet the script to use.
script
- Anything that can be resolved via StringUtils.stringize(Object)
this
Replace the script-specific arguments with a new set.
args
- New list of command-specific argumentsthis