public class TaskExecutionLogger extends Object implements TaskExecutionListener
| コンストラクタと説明 |
|---|
TaskExecutionLogger(org.gradle.logging.ProgressLoggerFactory progressLoggerFactory,
org.gradle.internal.progress.LoggerProvider parentLoggerPovider) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
afterExecute(Task task,
TaskState state)
This method is call immediately after a task has been executed.
|
void |
beforeExecute(Task task)
This method is called immediately before a task is executed.
|
public TaskExecutionLogger(org.gradle.logging.ProgressLoggerFactory progressLoggerFactory,
org.gradle.internal.progress.LoggerProvider parentLoggerPovider)
public void beforeExecute(Task task)
TaskExecutionListenerbeforeExecute インタフェース内 TaskExecutionListenertask - The task about to be executed. Never null.public void afterExecute(Task task, TaskState state)
TaskExecutionListenerafterExecute インタフェース内 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.