public abstract class AbstractExecTask extends ConventionTask
AbstractExecTask
is the base class for all exec tasks.
- The concrete type of the class.Constructor and description |
---|
AbstractExecTask
(Class<T> taskType) |
Type | Name and description |
---|---|
T |
args(Object... args) {@inheritDoc} |
T |
args(Iterable<?> args) {@inheritDoc} |
T |
commandLine(Object... arguments) {@inheritDoc} |
T |
commandLine(Iterable<?> args) {@inheritDoc} |
T |
copyTo(ProcessForkOptions target) {@inheritDoc} |
T |
environment(String name, Object value) {@inheritDoc} |
T |
environment(Map<String, ?> environmentVariables) {@inheritDoc} |
protected void |
exec() |
T |
executable(Object executable) {@inheritDoc} |
List<String> |
getArgs() {@inheritDoc} |
List<String> |
getCommandLine() {@inheritDoc} |
Map<String, Object> |
getEnvironment() {@inheritDoc} |
OutputStream |
getErrorOutput() {@inheritDoc} |
protected ExecActionFactory |
getExecActionFactory() |
ExecResult |
getExecResult() Returns the result for the command run by this task. |
String |
getExecutable() {@inheritDoc} |
InputStream |
getStandardInput() {@inheritDoc} |
OutputStream |
getStandardOutput() {@inheritDoc} |
File |
getWorkingDir() {@inheritDoc} |
boolean |
isIgnoreExitValue() {@inheritDoc} |
T |
setArgs(Iterable<?> arguments) {@inheritDoc} |
void |
setCommandLine(Iterable<?> args) {@inheritDoc} |
void |
setCommandLine(Object... args) {@inheritDoc} |
void |
setEnvironment(Map<String, ?> environmentVariables) {@inheritDoc} |
T |
setErrorOutput(OutputStream outputStream) {@inheritDoc} |
void |
setExecutable(Object executable) {@inheritDoc} |
T |
setIgnoreExitValue(boolean ignoreExitValue) {@inheritDoc} |
T |
setStandardInput(InputStream inputStream) {@inheritDoc} |
T |
setStandardOutput(OutputStream outputStream) {@inheritDoc} |
void |
setWorkingDir(Object dir) {@inheritDoc} |
T |
workingDir(Object dir) {@inheritDoc} |
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Returns the result for the command run by this task. Returns null
if this task has not been executed yet.
null
if this task has not been executed yet.{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Gradle API 2.2-20140924021627+0000