org.ioc.commons.flowcontrol.taskcontroller.RepeatingTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ioc-commons Show documentation
Show all versions of ioc-commons Show documentation
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.
package org.ioc.commons.flowcontrol.taskcontroller;
/**
* It defines a task which will be repeating until the run method returns false.
*
* @author Jesús Lunar Pérez
*
*/
public interface RepeatingTask {
/**
* Executes the task
*
* @return true if the task must be executed again; false otherwise.
*/
boolean run();
}