Interface ITaskListener<T>
-
- Type Parameters:
T- the type of the listener, which should accept if the operation from the ITask instance is complete
public interface ITaskListener<T>A listener for all tasks, that should handle the process- See Also:
ITask
-
-
Field Summary
Fields Modifier and Type Field Description static ITaskListenerFIRE_EXCEPTION_ON_FAILUREAn default implementation that prints an error into the System.err stream, if the operation wasn't successful
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidonCancelled(ITask<T> task)default voidonComplete(ITask<T> task, T t)Will fired if the operation was completeddefault voidonFailure(ITask<T> task, java.lang.Throwable th)
-
-
-
Field Detail
-
FIRE_EXCEPTION_ON_FAILURE
static final ITaskListener FIRE_EXCEPTION_ON_FAILURE
An default implementation that prints an error into the System.err stream, if the operation wasn't successful
-
-