package org.openslx.taskmanager.api; /** * Implement this if you want your task to be cancellable. * After cancel has been called, your task should try to clean up and leave * its execute() method in a timely fashion. * The execute() method must return false in that case (unless * it could still do everything it was supposed to) */ public interface CancellableTask { public void cancel(); }