Annotation Interface BeforeTask


@Target({METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Reflective public @interface BeforeTask

TaskExecutionListener.onTaskStartup(TaskExecution).

 public class MyListener {
        @BeforeTask
        public void  doSomething(TaskExecution taskExecution) {
    }
 }
 
Author:
Glenn Renfro