Interface TaskExecutionContext
@Deprecated
public interface TaskExecutionContext
Deprecated.
Used to provide the
TaskExecutor with context about the
environment of the task run.-
Method Summary
Modifier and Type Method Description Consoleconsole()Deprecated.This Console instance will be setup such that any messages written to it will show up in the build log.EnvironmentVariablesenvironment()Deprecated.The environment variables that this task should run with.java.lang.StringworkingDir()Deprecated.Working directory to be used by the task.
-
Method Details
-
environment
EnvironmentVariables environment()Deprecated.The environment variables that this task should run with.- Returns:
- the environment variables that this task should run with.
-
console
Console console()Deprecated.This Console instance will be setup such that any messages written to it will show up in the build log.- Returns:
- the console instance that any messages will be written to
-
workingDir
java.lang.String workingDir()Deprecated.Working directory to be used by the task.- Returns:
- the working directory to be used by the task.
-