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

org.ioc.commons.flowcontrol.operationmanager.OperationManagerTrigger 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.operationmanager;


/**
 * Trigger for operations
 * 
 * @author Jesús Lunar Pérez
 * 
 * @param 
 */
public interface OperationManagerTrigger> extends HasPendingOperations {
	/**
	 * Indicates that an operation is being begun
	 * 
	 * @param operation
	 *            The operation
	 */
	void operationBeginning(O operation);

	/**
	 * Indicates that an operation has finished
	 * 
	 * @param operation
	 *            The operation
	 * @param success
	 *            true if the operation finished successfuly; false otherwise
	 * 
	 * @return true if operation was begun; false otherwise.
	 */
	boolean operationFinished(O operation, boolean success);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy