beforeExecute

abstract fun beforeExecute(task: Task)(source)

This method is called immediately before a task is executed.

Parameters

task

The task about to be executed. Never null.