@Deprecated public interface TaskExecutionListener
TaskExecutionListener is notified of the execution of the tasks in a build.
You can add a
TaskExecutionListener to a build using
|Modifier and Type||Method||Description|
This method is called immediately after a task has been executed.
This method is called immediately before a task is executed.
void beforeExecute(Task task)
task- The task about to be executed. Never null.
void afterExecute(Task task, TaskState state)
task- 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.