blob: fa2709109f124673f3cb7cf35a5fb02f4feb2dfc (
plain) (
tree)
|
|
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();
}
|