Interface TaskExecutionContext
-
@Deprecated public interface TaskExecutionContextDeprecated.Used to provide theTaskExecutorwith context about the environment of the task run.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods 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 Detail
-
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.
-
-