Annotation Interface FailedTask
@Target({METHOD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
@Reflective
public @interface FailedTask
TaskExecutionListener.onTaskFailed(TaskExecution, Throwable).
public class MyListener {
@FailedTask
public void doSomething(TaskExecution taskExecution, Throwable throwable) {
}
}
- Author:
- Glenn Renfro