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

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

import java.util.List;

public interface HasPendingOperations> {
	/**
	 * 
	 * @return Number of pending operations
	 */
	int getPendingOpCount();

	/**
	 * 
	 * @return true if there is any pending operation; false otherwise
	 */
	boolean isBusy();

	/**
	 * 
	 * @param operation
	 * @return true if the operations passed as parameter is being executing or
	 *         not.
	 */
	boolean isOpPending(O operation);

	/**
	 * Returns the list of current pending operations
	 * 
	 * @return List of pending operations
	 */
	public List getPendingOpList();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy