All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ioc.commons.flowcontrol.taskcontroller.TaskHandler Maven / Gradle / Ivy

Go to download

This project defines a set of useful java interfaces for helping you in the definition of the structure of your developments in Java-projects which are designed using a Inversion-Of-Control (IOC) pattern. Useful for MVP-Pattern designs in applications coded on GWT, SWT, Android, etc.

There is a newer version: 1.2.1
Show newest version
package org.ioc.commons.flowcontrol.taskcontroller;

/**
 * Handler for tasks
 * 
 * @author Jesús Lunar Pérez
 * 
 */
public interface TaskHandler {
	/**
	 * Cancel a planning task, usually whether the task is not running yet (i.e.
	 * delayed tasks).
	 * 
	 * @return if the task could be cancelled. Depending on implementations some
	 *         tasks can be finished or not.
	 */
	boolean cancel();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy