@Deprecated public class TaskExecutionLogger extends Object implements TaskExecutionListener
| Constructor and Description |
|---|
TaskExecutionLogger(org.gradle.internal.logging.progress.ProgressLoggerFactory progressLoggerFactory,
org.gradle.internal.progress.LoggerProvider parentLoggerProvider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecute(Task task,
TaskState state)
Deprecated.
This method is call immediately after a task has been executed.
|
void |
beforeExecute(Task task)
Deprecated.
This method is called immediately before a task is executed.
|
public TaskExecutionLogger(org.gradle.internal.logging.progress.ProgressLoggerFactory progressLoggerFactory,
org.gradle.internal.progress.LoggerProvider parentLoggerProvider)
public void beforeExecute(Task task)
TaskExecutionListenerbeforeExecute in interface TaskExecutionListenertask - The task about to be executed. Never null.public void afterExecute(Task task, TaskState state)
TaskExecutionListenerafterExecute in interface TaskExecutionListenertask - The task which was executed. Never null.state - The task state. If the task failed with an exception, the exception is available in this
state. Never null.